home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document, ASCII text, with CRLF line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| x-fmt/111 Plain Text File
| default
| |
100%
| detectItEasy
| Format: Plain text[CRLF]
| default
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 24 48 65 61 64 65 | 72 3a 20 63 3a 2f 74 61 |% $Heade|r: c:/ta|
|00000010| 64 73 2f 64 6f 63 2f 52 | 43 53 2f 74 61 64 73 62 |ds/doc/R|CS/tadsb|
|00000020| 65 67 2e 74 65 78 20 31 | 2e 31 20 39 32 2f 31 31 |eg.tex 1|.1 92/11|
|00000030| 2f 31 33 20 31 36 3a 34 | 35 3a 35 32 20 6d 72 6f |/13 16:4|5:52 mro|
|00000040| 62 65 72 74 73 20 45 78 | 70 20 24 0d 0a 25 0d 0a |berts Ex|p $..%..|
|00000050| 25 20 54 41 44 53 20 64 | 6f 63 75 6d 65 6e 74 61 |% TADS d|ocumenta|
|00000060| 74 69 6f 6e 3a 20 20 42 | 61 73 69 63 20 54 41 44 |tion: B|asic TAD|
|00000070| 53 20 47 61 6d 65 20 57 | 72 69 74 69 6e 67 0d 0a |S Game W|riting..|
|00000080| 25 0d 0a 25 20 43 6f 70 | 79 72 69 67 68 74 20 28 |%..% Cop|yright (|
|00000090| 63 29 20 31 39 38 39 20 | 62 79 20 4d 69 63 68 61 |c) 1989 |by Micha|
|000000a0| 65 6c 20 4a 2e 20 52 6f | 62 65 72 74 73 2e 20 20 |el J. Ro|berts. |
|000000b0| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|000000c0| 76 65 64 2e 0d 0a 25 0d | 0a 0d 0a 5c 63 68 61 70 |ved...%.|...\chap|
|000000d0| 74 65 72 68 65 61 64 65 | 72 7b 43 68 61 70 74 65 |terheade|r{Chapte|
|000000e0| 72 20 53 69 78 7d 7b 47 | 65 74 74 69 6e 67 20 53 |r Six}{G|etting S|
|000000f0| 74 61 72 74 65 64 20 77 | 69 74 68 20 54 41 44 53 |tarted w|ith TADS|
|00000100| 7d 7b 36 7d 0d 0a 0d 0a | 54 68 65 20 70 72 65 76 |}{6}....|The prev|
|00000110| 69 6f 75 73 20 63 68 61 | 70 74 65 72 73 20 68 61 |ious cha|pters ha|
|00000120| 76 65 20 63 6f 76 65 72 | 65 64 20 61 20 6c 6f 74 |ve cover|ed a lot|
|00000130| 20 6f 66 20 67 72 6f 75 | 6e 64 3a 20 20 74 68 65 | of grou|nd: the|
|00000140| 20 6c 61 6e 67 75 61 67 | 65 2c 0d 0a 74 68 65 20 | languag|e,..the |
|00000150| 70 61 72 73 65 72 20 69 | 6e 74 65 72 66 61 63 65 |parser i|nterface|
|00000160| 2c 20 61 6e 64 20 65 76 | 65 6e 20 74 68 65 20 67 |, and ev|en the g|
|00000170| 65 6e 65 72 61 6c 20 70 | 72 69 6e 63 69 70 6c 65 |eneral p|rinciple|
|00000180| 73 20 6f 66 20 6f 62 6a | 65 63 74 2d 6f 72 69 65 |s of obj|ect-orie|
|00000190| 6e 74 65 64 0d 0a 70 72 | 6f 67 72 61 6d 6d 69 6e |nted..pr|ogrammin|
|000001a0| 67 2e 20 20 42 65 63 61 | 75 73 65 20 54 41 44 53 |g. Beca|use TADS|
|000001b0| 20 70 72 6f 76 69 64 65 | 73 20 73 75 63 68 20 61 | provide|s such a|
|000001c0| 20 72 69 63 68 20 73 65 | 74 20 6f 66 20 6f 70 74 | rich se|t of opt|
|000001d0| 69 6f 6e 73 2c 20 69 74 | 27 73 0d 0a 6f 66 74 65 |ions, it|'s..ofte|
|000001e0| 6e 20 64 69 66 66 69 63 | 75 6c 74 20 77 68 65 6e |n diffic|ult when|
|000001f0| 20 79 6f 75 27 72 65 20 | 66 69 72 73 74 20 67 65 | you're |first ge|
|00000200| 74 74 69 6e 67 20 73 74 | 61 72 74 65 64 20 77 69 |tting st|arted wi|
|00000210| 74 68 20 54 41 44 53 20 | 74 6f 20 66 69 67 75 72 |th TADS |to figur|
|00000220| 65 0d 0a 6f 75 74 20 74 | 68 65 20 62 65 73 74 20 |e..out t|he best |
|00000230| 77 61 79 20 74 6f 20 64 | 6f 20 73 6f 6d 65 74 68 |way to d|o someth|
|00000240| 69 6e 67 2e 0d 0a 0d 0a | 54 68 69 73 20 63 68 61 |ing.....|This cha|
|00000250| 70 74 65 72 20 69 73 20 | 69 6e 74 65 6e 64 65 64 |pter is |intended|
|00000260| 20 74 6f 20 68 65 6c 70 | 20 79 6f 75 20 74 68 72 | to help| you thr|
|00000270| 6f 75 67 68 20 74 68 65 | 20 70 72 6f 63 65 73 73 |ough the| process|
|00000280| 20 6f 66 20 77 72 69 74 | 69 6e 67 0d 0a 61 20 67 | of writ|ing..a g|
|00000290| 61 6d 65 20 77 69 74 68 | 20 54 41 44 53 2e 20 20 |ame with| TADS. |
|000002a0| 57 65 27 6c 6c 20 61 73 | 73 75 6d 65 20 74 68 61 |We'll as|sume tha|
|000002b0| 74 20 79 6f 75 20 68 61 | 76 65 20 61 20 62 61 73 |t you ha|ve a bas|
|000002c0| 69 63 20 69 64 65 61 20 | 6f 66 20 68 6f 77 20 74 |ic idea |of how t|
|000002d0| 68 65 0d 0a 54 41 44 53 | 20 6c 61 6e 67 75 61 67 |he..TADS| languag|
|000002e0| 65 20 77 6f 72 6b 73 2e | 5c 62 75 6c 6c 0d 0a 0d |e works.|\bull...|
|000002f0| 0a 0d 0a 5c 63 68 61 70 | 74 65 72 62 6f 64 79 0d |...\chap|terbody.|
|00000300| 0a 0d 0a 5c 6d 61 6a 6f | 72 73 65 63 74 69 6f 6e |...\majo|rsection|
|00000310| 7b 44 65 73 69 67 6e 69 | 6e 67 20 61 6e 64 20 49 |{Designi|ng and I|
|00000320| 6d 70 6c 65 6d 65 6e 74 | 69 6e 67 7d 0d 0a 0d 0a |mplement|ing}....|
|00000330| 5e 5e 7b 67 61 6d 65 20 | 64 65 73 69 67 6e 7d 0d |^^{game |design}.|
|00000340| 0a 5e 5e 7b 64 65 73 69 | 67 6e 69 6e 67 20 61 20 |.^^{desi|gning a |
|00000350| 67 61 6d 65 7d 0d 0a 59 | 6f 75 72 20 61 75 74 68 |game}..Y|our auth|
|00000360| 6f 72 20 68 61 73 20 62 | 65 65 6e 20 69 6e 76 6f |or has b|een invo|
|00000370| 6c 76 65 64 20 69 6e 20 | 74 68 65 20 64 65 73 69 |lved in |the desi|
|00000380| 67 6e 20 61 6e 64 20 69 | 6d 70 6c 65 6d 65 6e 74 |gn and i|mplement|
|00000390| 61 74 69 6f 6e 20 6f 66 | 0d 0a 73 65 76 65 72 61 |ation of|..severa|
|000003a0| 6c 20 74 65 78 74 20 61 | 64 76 65 6e 74 75 72 65 |l text a|dventure|
|000003b0| 20 67 61 6d 65 73 2e 20 | 20 54 68 65 20 67 61 6d | games. | The gam|
|000003c0| 65 20 64 65 76 65 6c 6f | 70 6d 65 6e 74 20 70 72 |e develo|pment pr|
|000003d0| 6f 63 65 73 73 20 70 72 | 65 73 65 6e 74 65 64 0d |ocess pr|esented.|
|000003e0| 0a 68 65 72 65 20 72 65 | 66 6c 65 63 74 73 20 74 |.here re|flects t|
|000003f0| 68 65 20 65 78 70 65 72 | 69 65 6e 63 65 20 67 61 |he exper|ience ga|
|00000400| 69 6e 65 64 20 66 72 6f | 6d 20 74 68 6f 73 65 20 |ined fro|m those |
|00000410| 70 72 6f 6a 65 63 74 73 | 2e 0d 0a 0d 0a 54 68 65 |projects|.....The|
|00000420| 20 66 69 72 73 74 20 73 | 74 65 70 20 69 73 20 64 | first s|tep is d|
|00000430| 65 73 69 67 6e 69 6e 67 | 20 74 68 65 20 67 61 6d |esigning| the gam|
|00000440| 65 2e 20 20 55 73 69 6e | 67 20 61 20 73 79 73 74 |e. Usin|g a syst|
|00000450| 65 6d 20 6c 69 6b 65 20 | 54 41 44 53 2c 20 77 68 |em like |TADS, wh|
|00000460| 69 63 68 0d 0a 6d 61 6b | 65 73 20 69 74 20 76 65 |ich..mak|es it ve|
|00000470| 72 79 20 65 61 73 79 20 | 74 6f 20 67 65 74 20 73 |ry easy |to get s|
|00000480| 74 61 72 74 65 64 20 77 | 69 74 68 20 61 20 67 61 |tarted w|ith a ga|
|00000490| 6d 65 2c 20 79 6f 75 20 | 6d 61 79 20 62 65 20 74 |me, you |may be t|
|000004a0| 65 6d 70 74 65 64 20 74 | 6f 0d 0a 6a 75 6d 70 20 |empted t|o..jump |
|000004b0| 72 69 67 68 74 20 69 6e | 20 61 6e 64 20 73 74 61 |right in| and sta|
|000004c0| 72 74 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 20 79 |rt progr|amming y|
|000004d0| 6f 75 72 20 67 61 6d 65 | 2c 20 62 75 74 20 79 6f |our game|, but yo|
|000004e0| 75 20 73 68 6f 75 6c 64 | 20 69 6e 73 74 65 61 64 |u should| instead|
|000004f0| 20 74 75 72 6e 0d 0a 6f | 66 66 20 79 6f 75 72 20 | turn..o|ff your |
|00000500| 63 6f 6d 70 75 74 65 72 | 20 61 6e 64 20 67 65 74 |computer| and get|
|00000510| 20 6f 75 74 20 61 20 70 | 61 64 20 6f 66 20 70 61 | out a p|ad of pa|
|00000520| 70 65 72 2e 0d 0a 0d 0a | 57 65 20 64 69 64 20 6e |per.....|We did n|
|00000530| 6f 74 20 66 6f 6c 6c 6f | 77 20 74 68 69 73 20 61 |ot follo|w this a|
|00000540| 64 76 69 63 65 20 77 69 | 74 68 20 7b 5c 69 74 20 |dvice wi|th {\it |
|00000550| 44 65 65 70 20 53 70 61 | 63 65 20 44 72 69 66 74 |Deep Spa|ce Drift|
|00000560| 65 72 7d 2e 20 20 41 66 | 74 65 72 0d 0a 66 6f 72 |er}. Af|ter..for|
|00000570| 6d 75 6c 61 74 69 6e 67 | 20 74 68 65 20 62 61 73 |mulating| the bas|
|00000580| 69 63 20 70 6c 6f 74 20 | 6f 66 20 74 68 65 20 67 |ic plot |of the g|
|00000590| 61 6d 65 2c 20 61 6e 64 | 20 6d 61 70 70 69 6e 67 |ame, and| mapping|
|000005a0| 20 6f 75 74 20 74 68 65 | 20 70 6f 72 74 69 6f 6e | out the| portion|
|000005b0| 0d 0a 74 68 61 74 20 74 | 61 6b 65 73 20 70 6c 61 |..that t|akes pla|
|000005c0| 63 65 20 6f 6e 20 74 68 | 65 20 73 70 61 63 65 20 |ce on th|e space |
|000005d0| 73 74 61 74 69 6f 6e 20 | 28 72 6f 75 67 68 6c 79 |station |(roughly|
|000005e0| 20 74 68 65 20 66 69 72 | 73 74 20 68 61 6c 66 20 | the fir|st half |
|000005f0| 6f 66 20 74 68 65 0d 0a | 67 61 6d 65 29 2c 20 77 |of the..|game), w|
|00000600| 65 20 73 74 61 72 74 65 | 64 20 69 6d 70 6c 65 6d |e starte|d implem|
|00000610| 65 6e 74 61 74 69 6f 6e | 2e 20 20 57 65 20 68 61 |entation|. We ha|
|00000620| 64 20 61 20 62 61 73 69 | 63 20 69 64 65 61 20 6f |d a basi|c idea o|
|00000630| 66 20 74 68 65 20 73 65 | 63 6f 6e 64 0d 0a 68 61 |f the se|cond..ha|
|00000640| 6c 66 20 6f 66 20 74 68 | 65 20 67 61 6d 65 2c 20 |lf of th|e game, |
|00000650| 62 75 74 20 69 74 20 77 | 61 73 6e 27 74 20 65 76 |but it w|asn't ev|
|00000660| 65 6e 20 6d 61 70 70 65 | 64 2e 0d 0a 0d 0a 49 6d |en mappe|d.....Im|
|00000670| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 20 77 65 6e |plementa|tion wen|
|00000680| 74 20 77 65 6c 6c 20 66 | 6f 72 20 61 20 77 68 69 |t well f|or a whi|
|00000690| 6c 65 2c 20 62 75 74 20 | 61 73 20 77 65 20 67 6f |le, but |as we go|
|000006a0| 74 20 66 75 72 74 68 65 | 72 20 61 6c 6f 6e 67 2c |t furthe|r along,|
|000006b0| 0d 0a 77 65 20 73 74 61 | 72 74 65 64 20 74 6f 20 |..we sta|rted to |
|000006c0| 72 75 6e 20 69 6e 74 6f | 20 64 65 74 61 69 6c 73 |run into| details|
|000006d0| 20 69 6e 20 74 68 65 20 | 66 69 72 73 74 20 68 61 | in the |first ha|
|000006e0| 6c 66 20 6f 66 20 74 68 | 65 20 67 61 6d 65 20 74 |lf of th|e game t|
|000006f0| 68 61 74 0d 0a 77 65 72 | 65 20 64 65 70 65 6e 64 |hat..wer|e depend|
|00000700| 65 6e 74 20 75 70 6f 6e | 20 64 65 74 61 69 6c 73 |ent upon| details|
|00000710| 20 66 72 6f 6d 20 74 68 | 65 20 75 6e 64 65 73 69 | from th|e undesi|
|00000720| 67 6e 65 64 20 73 65 63 | 6f 6e 64 20 68 61 6c 66 |gned sec|ond half|
|00000730| 2e 20 20 57 65 0d 0a 69 | 6d 70 72 6f 76 69 73 65 |. We..i|mprovise|
|00000740| 64 20 73 6f 6d 65 20 64 | 65 74 61 69 6c 73 2c 20 |d some d|etails, |
|00000750| 61 6e 64 20 6c 65 66 74 | 20 6f 74 68 65 72 73 20 |and left| others |
|00000760| 66 6f 72 20 6c 61 74 65 | 72 2e 20 20 41 73 20 77 |for late|r. As w|
|00000770| 65 20 64 69 64 0d 0a 74 | 68 69 73 2c 20 61 20 73 |e did..t|his, a s|
|00000780| 74 72 61 6e 67 65 20 74 | 68 69 6e 67 20 68 61 70 |trange t|hing hap|
|00000790| 70 65 6e 65 64 3a 20 20 | 77 65 20 73 74 61 72 74 |pened: |we start|
|000007a0| 65 64 20 74 6f 20 72 65 | 61 6c 69 7a 65 20 74 68 |ed to re|alize th|
|000007b0| 61 74 20 74 68 65 72 65 | 0d 0a 77 65 72 65 20 68 |at there|..were h|
|000007c0| 6f 6c 65 73 20 69 6e 20 | 74 68 65 20 70 6c 6f 74 |oles in |the plot|
|000007d0| 2c 20 61 6e 64 20 77 65 | 69 72 64 20 6c 69 74 74 |, and we|ird litt|
|000007e0| 6c 65 20 69 6e 63 6f 6e | 73 69 73 74 65 6e 63 69 |le incon|sistenci|
|000007f0| 65 73 20 74 68 61 74 20 | 68 61 64 6e 27 74 0d 0a |es that |hadn't..|
|00000800| 6f 63 63 75 72 72 65 64 | 20 74 6f 20 75 73 20 75 |occurred| to us u|
|00000810| 6e 74 69 6c 20 77 65 20 | 6e 65 65 64 65 64 20 74 |ntil we |needed t|
|00000820| 6f 20 74 68 69 6e 6b 20 | 61 62 6f 75 74 20 64 65 |o think |about de|
|00000830| 74 61 69 6c 73 2e 20 20 | 41 73 20 61 20 72 65 73 |tails. |As a res|
|00000840| 75 6c 74 2c 0d 0a 77 65 | 20 73 74 61 72 74 65 64 |ult,..we| started|
|00000850| 20 74 6f 20 63 68 61 6e | 67 65 20 6f 75 72 20 62 | to chan|ge our b|
|00000860| 61 73 69 63 20 69 64 65 | 61 73 20 61 62 6f 75 74 |asic ide|as about|
|00000870| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 68 61 6c 66 | the sec|ond half|
|00000880| 2c 20 77 68 69 63 68 0d | 0a 6c 65 64 20 74 6f 20 |, which.|.led to |
|00000890| 65 76 65 6e 20 6d 6f 72 | 65 20 69 6e 63 6f 6e 73 |even mor|e incons|
|000008a0| 69 73 74 65 6e 63 69 65 | 73 20 61 6e 64 20 70 6c |istencie|s and pl|
|000008b0| 6f 74 20 68 6f 6c 65 73 | 2e 20 20 49 74 20 77 61 |ot holes|. It wa|
|000008c0| 73 20 6c 69 6b 65 0d 0a | 64 69 67 67 69 6e 67 20 |s like..|digging |
|000008d0| 69 6e 20 73 61 6e 64 2c | 20 61 6e 64 20 62 65 66 |in sand,| and bef|
|000008e0| 6f 72 65 20 6c 6f 6e 67 | 20 77 65 20 64 65 63 69 |ore long| we deci|
|000008f0| 64 65 64 20 74 6f 20 74 | 68 72 6f 77 20 6f 75 74 |ded to t|hrow out|
|00000900| 20 74 68 65 20 65 6e 74 | 69 72 65 0d 0a 6f 72 69 | the ent|ire..ori|
|00000910| 67 69 6e 61 6c 20 70 6c | 61 6e 20 66 6f 72 20 74 |ginal pl|an for t|
|00000920| 68 65 20 73 65 63 6f 6e | 64 20 68 61 6c 66 20 61 |he secon|d half a|
|00000930| 6e 64 20 73 74 61 72 74 | 20 6f 76 65 72 2e 0d 0a |nd start| over...|
|00000940| 0d 0a 48 6f 77 65 76 65 | 72 2c 20 77 65 20 68 61 |..Howeve|r, we ha|
|00000950| 64 20 73 6f 20 6d 75 63 | 68 20 74 69 6d 65 20 61 |d so muc|h time a|
|00000960| 6e 64 20 65 66 66 6f 72 | 74 20 69 6e 76 65 73 74 |nd effor|t invest|
|00000970| 65 64 20 69 6e 20 74 68 | 65 20 73 70 61 63 65 20 |ed in th|e space |
|00000980| 73 74 61 74 69 6f 6e 0d | 0a 74 68 61 74 20 77 65 |station.|.that we|
|00000990| 20 64 69 64 6e 27 74 20 | 77 61 6e 74 20 74 6f 20 | didn't |want to |
|000009a0| 74 68 72 6f 77 20 69 74 | 20 61 77 61 79 2e 20 20 |throw it| away. |
|000009b0| 49 6e 73 74 65 61 64 2c | 20 77 65 20 74 72 69 65 |Instead,| we trie|
|000009c0| 64 20 74 6f 20 64 65 73 | 69 67 6e 0d 0a 61 20 6e |d to des|ign..a n|
|000009d0| 65 77 20 73 65 63 6f 6e | 64 20 68 61 6c 66 20 74 |ew secon|d half t|
|000009e0| 68 61 74 20 66 69 74 20 | 69 6e 20 77 69 74 68 20 |hat fit |in with |
|000009f0| 74 68 65 20 65 78 69 73 | 74 69 6e 67 20 66 69 72 |the exis|ting fir|
|00000a00| 73 74 20 68 61 6c 66 2e | 20 20 46 72 6f 6d 0d 0a |st half.| From..|
|00000a10| 74 68 69 73 20 70 6f 69 | 6e 74 20 6f 6e 2c 20 74 |this poi|nt on, t|
|00000a20| 68 65 20 62 61 74 74 6c | 65 20 77 61 73 20 6c 6f |he battl|e was lo|
|00000a30| 73 74 2e 20 20 57 65 20 | 77 65 6e 74 20 74 68 72 |st. We |went thr|
|00000a40| 6f 75 67 68 20 61 20 73 | 65 72 69 65 73 20 6f 66 |ough a s|eries of|
|00000a50| 0d 0a 65 73 73 65 6e 74 | 69 61 6c 6c 79 20 75 6e |..essent|ially un|
|00000a60| 72 65 6c 61 74 65 64 20 | 70 6c 6f 74 73 20 66 6f |related |plots fo|
|00000a70| 72 20 74 68 65 20 67 61 | 6d 65 2c 20 74 72 79 69 |r the ga|me, tryi|
|00000a80| 6e 67 20 74 6f 20 66 69 | 74 20 65 61 63 68 20 6e |ng to fi|t each n|
|00000a90| 65 77 0d 0a 70 6c 6f 74 | 20 74 6f 20 61 6e 20 65 |ew..plot| to an e|
|00000aa0| 76 65 6e 20 6c 61 72 67 | 65 72 20 73 65 74 20 6f |ven larg|er set o|
|00000ab0| 66 20 65 78 69 73 74 69 | 6e 67 20 69 6d 70 6c 65 |f existi|ng imple|
|00000ac0| 6d 65 6e 74 61 74 69 6f | 6e 2e 20 20 57 65 27 64 |mentatio|n. We'd|
|00000ad0| 0d 0a 70 6c 61 6e 20 61 | 20 6c 69 74 74 6c 65 2c |..plan a| little,|
|00000ae0| 20 69 6d 70 6c 65 6d 65 | 6e 74 20 69 74 2c 20 74 | impleme|nt it, t|
|00000af0| 68 65 6e 20 64 69 73 63 | 6f 76 65 72 20 74 68 61 |hen disc|over tha|
|00000b00| 74 20 74 68 65 20 70 6c | 61 6e 20 77 61 73 6e 27 |t the pl|an wasn'|
|00000b10| 74 0d 0a 77 6f 72 6b 69 | 6e 67 20 61 6e 64 20 77 |t..worki|ng and w|
|00000b20| 6f 75 6c 64 20 68 61 76 | 65 20 74 6f 20 67 6f 2d |ould hav|e to go-|
|00000b30| 2d 2d 62 75 74 20 74 68 | 65 20 70 72 6f 67 72 61 |--but th|e progra|
|00000b40| 6d 6d 69 6e 67 20 77 6f | 72 6b 20 77 65 20 64 69 |mming wo|rk we di|
|00000b50| 64 0d 0a 77 6f 75 6c 64 | 20 68 61 76 65 20 74 6f |d..would| have to|
|00000b60| 20 73 74 61 79 2e 20 20 | 54 68 65 20 73 77 61 6d | stay. |The swam|
|00000b70| 70 2c 0d 0a 74 68 65 20 | 63 61 76 65 20 6d 61 7a |p,..the |cave maz|
|00000b80| 65 2c 20 61 6e 64 20 74 | 68 65 20 73 68 75 74 74 |e, and t|he shutt|
|00000b90| 6c 65 20 72 65 70 72 65 | 73 65 6e 74 65 64 20 73 |le repre|sented s|
|00000ba0| 6f 20 6d 75 63 68 20 77 | 6f 72 6b 20 74 68 61 74 |o much w|ork that|
|00000bb0| 20 77 65 20 63 6f 75 6c | 64 6e 27 74 0d 0a 63 6f | we coul|dn't..co|
|00000bc0| 6e 74 65 6d 70 6c 61 74 | 65 20 74 68 72 6f 77 69 |ntemplat|e throwi|
|00000bd0| 6e 67 20 74 68 65 6d 20 | 61 77 61 79 2c 20 73 6f |ng them |away, so|
|00000be0| 20 77 68 61 74 65 76 65 | 72 20 77 65 20 63 61 6d | whateve|r we cam|
|00000bf0| 65 20 75 70 20 77 69 74 | 68 20 68 61 64 20 74 6f |e up wit|h had to|
|00000c00| 0d 0a 69 6e 63 6c 75 64 | 65 20 74 68 65 6d 20 73 |..includ|e them s|
|00000c10| 6f 6d 65 68 6f 77 3b 20 | 66 6f 72 20 61 20 62 72 |omehow; |for a br|
|00000c20| 69 65 66 20 74 69 6d 65 | 2c 20 77 65 20 77 65 72 |ief time|, we wer|
|00000c30| 65 20 61 63 74 75 61 6c | 6c 79 20 67 6f 69 6e 67 |e actual|ly going|
|00000c40| 20 74 6f 0d 0a 6d 61 6b | 65 20 74 68 65 20 73 77 | to..mak|e the sw|
|00000c50| 61 6d 70 20 61 20 60 60 | 53 77 61 6d 70 20 53 69 |amp a ``|Swamp Si|
|00000c60| 6d 75 6c 61 74 6f 72 27 | 27 20 62 65 63 61 75 73 |mulator'|' becaus|
|00000c70| 65 20 69 74 20 77 61 73 | 20 74 68 65 20 6f 6e 6c |e it was| the onl|
|00000c80| 79 20 77 61 79 0d 0a 77 | 65 20 63 6f 75 6c 64 20 |y way..w|e could |
|00000c90| 6d 61 6b 65 20 69 74 20 | 66 69 74 2e 0d 0a 0d 0a |make it |fit.....|
|00000ca0| 49 6e 20 74 68 65 20 65 | 6e 64 2c 20 77 65 20 77 |In the e|nd, we w|
|00000cb0| 65 72 65 20 74 6f 74 61 | 6c 6c 79 20 73 69 63 6b |ere tota|lly sick|
|00000cc0| 20 6f 66 20 77 72 69 74 | 69 6e 67 20 7b 5c 69 74 | of writ|ing {\it|
|00000cd0| 20 44 65 65 70 20 53 70 | 61 63 65 20 44 72 69 66 | Deep Sp|ace Drif|
|00000ce0| 74 65 72 7d 2c 0d 0a 62 | 75 74 20 72 65 66 75 73 |ter},..b|ut refus|
|00000cf0| 65 64 20 74 6f 20 6c 65 | 74 20 74 68 65 20 70 72 |ed to le|t the pr|
|00000d00| 6f 6a 65 63 74 20 64 69 | 65 20 62 65 66 6f 72 65 |oject di|e before|
|00000d10| 20 69 74 20 77 61 73 20 | 63 6f 6d 70 6c 65 74 65 | it was |complete|
|00000d20| 20 66 6f 72 0d 0a 70 73 | 79 63 68 6f 6c 6f 67 69 | for..ps|ychologi|
|00000d30| 63 61 6c 20 72 65 61 73 | 6f 6e 73 2e 20 20 54 6f |cal reas|ons. To|
|00000d40| 20 6d 65 2c 20 74 68 69 | 73 20 61 74 74 69 74 75 | me, thi|s attitu|
|00000d50| 64 65 20 73 68 6f 77 73 | 20 74 68 72 6f 75 67 68 |de shows| through|
|00000d60| 20 69 6e 0d 0a 74 68 65 | 20 6c 61 73 74 20 68 61 | in..the| last ha|
|00000d70| 6c 66 20 6f 66 20 74 68 | 65 20 67 61 6d 65 3b 20 |lf of th|e game; |
|00000d80| 49 20 74 68 69 6e 6b 20 | 74 68 65 72 65 27 73 20 |I think |there's |
|00000d90| 61 20 72 6f 6f 6d 20 6f | 6e 20 74 68 65 20 70 6c |a room o|n the pl|
|00000da0| 61 6e 65 74 0d 0a 77 68 | 6f 73 65 20 64 65 73 63 |anet..wh|ose desc|
|00000db0| 72 69 70 74 69 6f 6e 20 | 69 73 20 73 6f 6d 65 74 |ription |is somet|
|00000dc0| 68 69 6e 67 20 6c 69 6b | 65 20 74 68 69 73 3a 20 |hing lik|e this: |
|00000dd0| 20 60 60 54 68 69 73 20 | 72 6f 6f 6d 20 69 73 20 | ``This |room is |
|00000de0| 76 65 72 79 0d 0a 62 6f | 72 69 6e 67 3b 20 79 6f |very..bo|ring; yo|
|00000df0| 75 20 63 61 6e 20 6c 65 | 61 76 65 20 74 6f 20 74 |u can le|ave to t|
|00000e00| 68 65 20 6e 6f 72 74 68 | 2e 27 27 20 20 49 6e 20 |he north|.'' In |
|00000e10| 66 61 63 74 2c 20 49 20 | 74 68 69 6e 6b 20 74 68 |fact, I |think th|
|00000e20| 65 20 65 6e 74 69 72 65 | 0d 0a 67 61 6d 65 20 72 |e entire|..game r|
|00000e30| 65 66 6c 65 63 74 73 20 | 69 74 73 20 68 69 73 74 |eflects |its hist|
|00000e40| 6f 72 79 3a 20 20 74 68 | 65 20 73 70 61 63 65 20 |ory: th|e space |
|00000e50| 73 74 61 74 69 6f 6e 20 | 69 73 20 66 75 6c 6c 20 |station |is full |
|00000e60| 6f 66 20 74 68 69 6e 67 | 73 20 74 6f 0d 0a 64 6f |of thing|s to..do|
|00000e70| 2c 20 69 74 20 68 61 73 | 20 73 6f 6d 65 20 6e 69 |, it has| some ni|
|00000e80| 63 65 20 72 75 6e 6e 69 | 6e 67 20 6a 6f 6b 65 73 |ce runni|ng jokes|
|00000e90| 2c 20 61 6e 64 20 69 74 | 27 73 20 73 74 79 6c 69 |, and it|'s styli|
|00000ea0| 73 74 69 63 61 6c 6c 79 | 20 63 6f 6e 73 69 73 74 |stically| consist|
|00000eb0| 65 6e 74 2e 0d 0a 54 68 | 65 20 70 6c 61 6e 65 74 |ent...Th|e planet|
|00000ec0| 2c 20 6f 6e 20 74 68 65 | 20 6f 74 68 65 72 20 68 |, on the| other h|
|00000ed0| 61 6e 64 2c 20 68 61 73 | 20 61 6e 20 65 6d 70 74 |and, has| an empt|
|00000ee0| 79 2c 20 62 61 72 72 65 | 6e 20 66 65 65 6c 3b 20 |y, barre|n feel; |
|00000ef0| 69 74 27 73 0d 0a 73 70 | 72 65 61 64 20 6f 75 74 |it's..sp|read out|
|00000f00| 20 61 6e 64 20 74 68 65 | 72 65 27 73 20 6e 6f 74 | and the|re's not|
|00000f10| 20 6d 75 63 68 20 74 6f | 20 64 6f 2e 20 20 54 68 | much to| do. Th|
|00000f20| 65 20 6f 6e 6c 79 20 70 | 61 72 74 73 20 74 68 61 |e only p|arts tha|
|00000f30| 74 20 61 72 65 0d 0a 69 | 6e 74 65 72 65 73 74 69 |t are..i|nteresti|
|00000f40| 6e 67 20 61 72 65 20 65 | 73 73 65 6e 74 69 61 6c |ng are e|ssential|
|00000f50| 6c 79 20 75 6e 72 65 6c | 61 74 65 64 20 74 6f 20 |ly unrel|ated to |
|00000f60| 65 61 63 68 20 6f 74 68 | 65 72 20 61 6e 64 20 74 |each oth|er and t|
|00000f70| 6f 20 74 68 65 0d 0a 73 | 74 6f 72 79 20 69 6e 20 |o the..s|tory in |
|00000f80| 67 65 6e 65 72 61 6c 2c | 20 61 20 72 65 66 6c 65 |general,| a refle|
|00000f90| 63 74 69 6f 6e 20 6f 66 | 20 68 61 76 69 6e 67 20 |ction of| having |
|00000fa0| 62 65 65 6e 20 66 6f 72 | 63 65 64 20 69 6e 74 6f |been for|ced into|
|00000fb0| 20 74 68 65 0d 0a 67 61 | 6d 65 20 77 68 65 74 68 | the..ga|me wheth|
|00000fc0| 65 72 20 74 68 65 79 20 | 62 65 6c 6f 6e 67 65 64 |er they |belonged|
|00000fd0| 20 6f 72 20 6e 6f 74 2e | 0d 0a 0d 0a 49 27 6d 20 | or not.|....I'm |
|00000fe0| 6e 6f 74 20 73 61 79 69 | 6e 67 20 74 68 61 74 20 |not sayi|ng that |
|00000ff0| 7b 5c 69 74 20 44 65 65 | 70 20 53 70 61 63 65 20 |{\it Dee|p Space |
|00001000| 44 72 69 66 74 65 72 7d | 20 69 73 20 61 20 62 61 |Drifter}| is a ba|
|00001010| 64 20 67 61 6d 65 2d 2d | 2d 49 20 6c 69 6b 65 0d |d game--|-I like.|
|00001020| 0a 74 68 65 20 73 70 61 | 63 65 20 73 74 61 74 69 |.the spa|ce stati|
|00001030| 6f 6e 20 61 20 6c 6f 74 | 2c 20 61 6e 64 20 74 68 |on a lot|, and th|
|00001040| 65 20 70 75 7a 7a 6c 65 | 73 20 6f 6e 20 74 68 65 |e puzzle|s on the|
|00001050| 20 70 6c 61 6e 65 74 20 | 61 72 65 20 76 65 72 79 | planet |are very|
|00001060| 0d 0a 65 6c 61 62 6f 72 | 61 74 65 20 61 6e 64 20 |..elabor|ate and |
|00001070| 65 6c 65 67 61 6e 74 2e | 20 20 42 75 74 20 74 68 |elegant.| But th|
|00001080| 65 20 67 61 6d 65 20 68 | 61 73 20 73 6f 6d 65 20 |e game h|as some |
|00001090| 73 65 72 69 6f 75 73 20 | 66 6c 61 77 73 2c 20 6d |serious |flaws, m|
|000010a0| 6f 73 74 0d 0a 6f 66 20 | 77 68 69 63 68 20 49 20 |ost..of |which I |
|000010b0| 61 74 74 72 69 62 75 74 | 65 20 74 6f 20 74 68 65 |attribut|e to the|
|000010c0| 20 6c 6f 6e 67 2c 20 63 | 68 61 6f 74 69 63 20 70 | long, c|haotic p|
|000010d0| 72 6f 63 65 73 73 20 6f | 66 20 64 65 73 69 67 6e |rocess o|f design|
|000010e0| 20 61 6e 64 0d 0a 69 6d | 70 6c 65 6d 65 6e 74 61 | and..im|plementa|
|000010f0| 74 69 6f 6e 2e 0d 0a 0d | 0a 7b 5c 69 74 20 44 69 |tion....|.{\it Di|
|00001100| 74 63 68 20 44 61 79 20 | 44 72 69 66 74 65 72 7d |tch Day |Drifter}|
|00001110| 2c 20 6f 6e 20 74 68 65 | 20 6f 74 68 65 72 20 68 |, on the| other h|
|00001120| 61 6e 64 2c 20 77 65 6e | 74 20 74 68 72 6f 75 67 |and, wen|t throug|
|00001130| 68 20 61 20 6d 75 63 68 | 20 73 68 6f 72 74 65 72 |h a much| shorter|
|00001140| 20 61 6e 64 0d 0a 73 6d | 6f 6f 74 68 65 72 20 64 | and..sm|oother d|
|00001150| 65 73 69 67 6e 20 61 6e | 64 20 69 6d 70 6c 65 6d |esign an|d implem|
|00001160| 65 6e 74 61 74 69 6f 6e | 20 70 72 6f 63 65 73 73 |entation| process|
|00001170| 2c 20 61 6e 64 20 49 20 | 74 68 69 6e 6b 20 61 20 |, and I |think a |
|00001180| 62 65 74 74 65 72 20 67 | 61 6d 65 0d 0a 72 65 73 |better g|ame..res|
|00001190| 75 6c 74 65 64 2e 20 20 | 41 64 6d 69 74 74 65 64 |ulted. |Admitted|
|000011a0| 6c 79 2c 20 7b 5c 69 74 | 20 44 69 74 63 68 7d 20 |ly, {\it| Ditch} |
|000011b0| 69 73 20 61 20 6d 75 63 | 68 20 73 6d 61 6c 6c 65 |is a muc|h smalle|
|000011c0| 72 20 67 61 6d 65 20 74 | 68 61 6e 20 7b 5c 69 74 |r game t|han {\it|
|000011d0| 20 44 65 65 70 7d 2c 0d | 0a 62 75 74 20 69 74 27 | Deep},.|.but it'|
|000011e0| 73 20 63 6c 65 61 72 20 | 74 6f 20 6d 65 20 74 68 |s clear |to me th|
|000011f0| 61 74 20 74 68 65 20 73 | 61 6d 65 20 64 65 73 69 |at the s|ame desi|
|00001200| 67 6e 20 70 72 6f 63 65 | 73 73 20 63 6f 75 6c 64 |gn proce|ss could|
|00001210| 20 68 61 76 65 20 62 65 | 65 6e 0d 0a 61 70 70 6c | have be|en..appl|
|00001220| 69 65 64 20 7b 5c 69 74 | 20 44 65 65 70 7d 2c 20 |ied {\it| Deep}, |
|00001230| 61 6e 64 20 74 68 61 74 | 20 64 6f 69 6e 67 20 73 |and that| doing s|
|00001240| 6f 20 77 6f 75 6c 64 20 | 68 61 76 65 20 72 65 73 |o would |have res|
|00001250| 75 6c 74 65 64 20 69 6e | 20 61 20 6d 75 63 68 0d |ulted in| a much.|
|00001260| 0a 62 65 74 74 65 72 20 | 67 61 6d 65 2e 0d 0a 0d |.better |game....|
|00001270| 0a 42 65 66 6f 72 65 20 | 61 6e 79 20 70 72 6f 67 |.Before |any prog|
|00001280| 72 61 6d 6d 69 6e 67 20 | 77 6f 72 6b 20 73 74 61 |ramming |work sta|
|00001290| 72 74 65 64 20 6f 6e 20 | 7b 5c 69 74 20 44 69 74 |rted on |{\it Dit|
|000012a0| 63 68 7d 2c 20 49 20 68 | 61 64 20 61 20 63 6f 6d |ch}, I h|ad a com|
|000012b0| 70 6c 65 74 65 0d 0a 6d | 61 70 20 6f 66 20 74 68 |plete..m|ap of th|
|000012c0| 65 20 67 61 6d 65 20 61 | 6e 64 20 64 65 73 63 72 |e game a|nd descr|
|000012d0| 69 70 74 69 6f 6e 73 20 | 6f 66 20 61 6c 6c 20 74 |iptions |of all t|
|000012e0| 68 65 20 6f 62 6a 65 63 | 74 73 20 61 6e 64 20 63 |he objec|ts and c|
|000012f0| 68 72 61 63 74 65 72 73 | 20 69 6e 0d 0a 74 68 65 |hracters| in..the|
|00001300| 20 67 61 6d 65 2c 20 69 | 6e 63 6c 75 64 69 6e 67 | game, i|ncluding|
|00001310| 20 74 68 65 20 6b 65 79 | 20 65 6c 65 6d 65 6e 74 | the key| element|
|00001320| 73 20 6f 66 20 74 68 65 | 69 72 20 62 65 68 61 76 |s of the|ir behav|
|00001330| 69 6f 72 2e 20 20 54 68 | 69 73 20 6d 61 64 65 0d |ior. Th|is made.|
|00001340| 0a 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 |.impleme|ntation |
|00001350| 76 65 72 79 20 73 6d 6f | 6f 74 68 20 61 6e 64 20 |very smo|oth and |
|00001360| 65 61 73 79 2c 20 62 65 | 63 61 75 73 65 20 49 20 |easy, be|cause I |
|00001370| 63 6f 75 6c 64 20 73 69 | 6d 70 6c 79 20 67 6f 20 |could si|mply go |
|00001380| 74 68 72 6f 75 67 68 0d | 0a 74 68 65 20 6c 69 73 |through.|.the lis|
|00001390| 74 73 20 6f 66 20 72 6f | 6f 6d 73 20 61 6e 64 20 |ts of ro|oms and |
|000013a0| 6f 62 6a 65 63 74 73 20 | 61 6e 64 20 69 6d 70 6c |objects |and impl|
|000013b0| 65 6d 65 6e 74 20 65 61 | 63 68 2e 20 20 49 20 64 |ement ea|ch. I d|
|000013c0| 69 64 6e 27 74 20 68 61 | 76 65 20 74 6f 0d 0a 6d |idn't ha|ve to..m|
|000013d0| 61 6b 65 20 61 6e 79 20 | 64 65 73 69 67 6e 20 64 |ake any |design d|
|000013e0| 65 63 69 73 69 6f 6e 73 | 20 64 75 72 69 6e 67 20 |ecisions| during |
|000013f0| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 2c 20 |implemen|tation, |
|00001400| 77 68 69 63 68 20 65 6c | 69 6d 69 6e 61 74 65 64 |which el|iminated|
|00001410| 20 74 68 65 0d 0a 64 65 | 73 69 72 65 20 74 6f 20 | the..de|sire to |
|00001420| 63 68 61 6e 67 65 20 64 | 65 73 69 67 6e 20 64 65 |change d|esign de|
|00001430| 63 69 73 69 6f 6e 73 20 | 74 68 61 74 20 68 61 64 |cisions |that had|
|00001440| 20 61 6c 72 65 61 64 79 | 20 62 65 65 6e 20 6d 61 | already| been ma|
|00001450| 64 65 2e 20 20 54 68 65 | 0d 0a 67 61 6d 65 20 74 |de. The|..game t|
|00001460| 6f 6f 6b 20 6f 6e 6c 79 | 20 61 20 66 65 77 20 77 |ook only| a few w|
|00001470| 65 65 6b 73 20 74 6f 20 | 69 6d 70 6c 65 6d 65 6e |eeks to |implemen|
|00001480| 74 2c 20 61 6e 64 20 63 | 61 6d 65 20 6f 75 74 20 |t, and c|ame out |
|00001490| 66 61 69 72 6c 79 20 77 | 65 6c 6c 2e 0d 0a 0d 0a |fairly w|ell.....|
|000014a0| 49 66 20 79 6f 75 20 72 | 65 73 69 73 74 20 74 68 |If you r|esist th|
|000014b0| 65 0d 0a 74 65 6d 70 74 | 61 74 69 6f 6e 20 74 6f |e..tempt|ation to|
|000014c0| 20 73 74 61 72 74 20 70 | 72 6f 67 72 61 6d 6d 69 | start p|rogrammi|
|000014d0| 6e 67 20 62 65 66 6f 72 | 65 20 74 68 65 20 64 65 |ng befor|e the de|
|000014e0| 73 69 67 6e 20 69 73 20 | 63 6f 6d 70 6c 65 74 65 |sign is |complete|
|000014f0| 2c 20 79 6f 75 72 0d 0a | 67 61 6d 65 27 73 20 69 |, your..|game's i|
|00001500| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 77 69 |mplement|ation wi|
|00001510| 6c 6c 20 67 6f 20 6d 75 | 63 68 20 66 61 73 74 65 |ll go mu|ch faste|
|00001520| 72 2c 20 74 68 65 20 67 | 61 6d 65 20 77 69 6c 6c |r, the g|ame will|
|00001530| 20 74 75 72 6e 20 6f 75 | 74 0d 0a 6d 75 63 68 20 | turn ou|t..much |
|00001540| 62 65 74 74 65 72 2c 20 | 61 6e 64 20 6d 6f 73 74 |better, |and most|
|00001550| 20 69 6d 70 6f 72 74 61 | 6e 74 6c 79 2c 20 74 68 | importa|ntly, th|
|00001560| 65 20 63 68 61 6e 63 65 | 73 20 74 68 61 74 20 79 |e chance|s that y|
|00001570| 6f 75 20 63 6f 6d 70 6c | 65 74 65 20 79 6f 75 72 |ou compl|ete your|
|00001580| 0d 0a 67 61 6d 65 20 77 | 69 6c 6c 20 62 65 20 6d |..game w|ill be m|
|00001590| 75 63 68 20 68 69 67 68 | 65 72 2e 0d 0a 0d 0a 0d |uch high|er......|
|000015a0| 0a 5c 6d 61 6a 6f 72 73 | 65 63 74 69 6f 6e 7b 44 |.\majors|ection{D|
|000015b0| 65 73 69 67 6e 69 6e 67 | 20 61 20 47 61 6d 65 7d |esigning| a Game}|
|000015c0| 0d 0a 0d 0a 42 65 66 6f | 72 65 20 79 6f 75 20 73 |....Befo|re you s|
|000015d0| 74 61 72 74 20 69 6d 70 | 6c 65 6d 65 6e 74 69 6e |tart imp|lementin|
|000015e0| 67 20 79 6f 75 72 20 67 | 61 6d 65 2c 20 79 6f 75 |g your g|ame, you|
|000015f0| 20 73 68 6f 75 6c 64 20 | 68 61 76 65 20 61 20 6c | should |have a l|
|00001600| 69 73 74 0d 0a 6f 66 20 | 61 6c 6c 20 6f 66 20 74 |ist..of |all of t|
|00001610| 68 65 20 6c 6f 63 61 74 | 69 6f 6e 73 2c 20 6f 62 |he locat|ions, ob|
|00001620| 6a 65 63 74 73 2c 20 61 | 6e 64 20 63 68 61 72 61 |jects, a|nd chara|
|00001630| 63 74 65 72 73 20 69 6e | 20 74 68 65 20 67 61 6d |cters in| the gam|
|00001640| 65 2e 20 20 46 6f 72 0d | 0a 65 61 63 68 20 6c 6f |e. For.|.each lo|
|00001650| 63 61 74 69 6f 6e 2c 20 | 6f 62 6a 65 63 74 2c 20 |cation, |object, |
|00001660| 61 6e 64 20 63 68 61 72 | 61 63 74 65 72 20 69 6e |and char|acter in|
|00001670| 20 74 68 65 20 67 61 6d | 65 20 28 74 6f 20 77 68 | the gam|e (to wh|
|00001680| 69 63 68 20 77 65 27 6c | 6c 0d 0a 72 65 66 65 72 |ich we'l|l..refer|
|00001690| 20 63 6f 6c 6c 65 63 74 | 69 76 65 6c 79 20 61 73 | collect|ively as|
|000016a0| 20 60 60 67 61 6d 65 20 | 65 6c 65 6d 65 6e 74 73 | ``game |elements|
|000016b0| 27 27 20 68 65 6e 63 65 | 66 6f 72 74 68 29 2c 20 |'' hence|forth), |
|000016c0| 79 6f 75 20 73 68 6f 75 | 6c 64 0d 0a 68 61 76 65 |you shou|ld..have|
|000016d0| 20 61 20 64 65 73 63 72 | 69 70 74 69 6f 6e 20 6f | a descr|iption o|
|000016e0| 66 20 74 68 65 20 69 74 | 65 6d 20 61 6e 64 20 69 |f the it|em and i|
|000016f0| 74 73 20 6b 65 79 20 62 | 65 68 61 76 69 6f 72 2e |ts key b|ehavior.|
|00001700| 20 20 42 61 73 69 63 61 | 6c 6c 79 2c 0d 0a 79 6f | Basica|lly,..yo|
|00001710| 75 20 73 68 6f 75 6c 64 | 20 6b 6e 6f 77 20 65 6e |u should| know en|
|00001720| 6f 75 67 68 20 61 62 6f | 75 74 20 79 6f 75 72 20 |ough abo|ut your |
|00001730| 67 61 6d 65 20 74 68 61 | 74 20 79 6f 75 20 63 61 |game tha|t you ca|
|00001740| 6e 20 67 6f 20 74 68 72 | 6f 75 67 68 0d 0a 74 68 |n go thr|ough..th|
|00001750| 65 20 67 61 6d 65 20 61 | 6e 64 20 70 6c 61 79 20 |e game a|nd play |
|00001760| 69 74 20 63 6f 6d 70 6c | 65 74 65 6c 79 20 74 68 |it compl|etely th|
|00001770| 72 6f 75 67 68 2c 20 63 | 6f 6d 6d 61 6e 64 20 62 |rough, c|ommand b|
|00001780| 79 20 63 6f 6d 6d 61 6e | 64 2e 0d 0a 59 6f 75 20 |y comman|d...You |
|00001790| 64 6f 6e 27 74 20 6e 65 | 65 64 20 74 6f 20 6b 6e |don't ne|ed to kn|
|000017a0| 6f 77 20 7b 5c 69 74 20 | 61 6c 6c 7d 20 6f 66 20 |ow {\it |all} of |
|000017b0| 74 68 65 20 64 65 74 61 | 69 6c 73 20 6f 66 20 74 |the deta|ils of t|
|000017c0| 68 65 20 67 61 6d 65 0d | 0a 61 74 20 74 68 69 73 |he game.|.at this|
|000017d0| 20 70 6f 69 6e 74 2c 20 | 62 75 74 20 79 6f 75 20 | point, |but you |
|000017e0| 73 68 6f 75 6c 64 20 6b | 6e 6f 77 20 61 6c 6c 20 |should k|now all |
|000017f0| 6f 66 20 74 68 65 20 64 | 65 74 61 69 6c 73 20 61 |of the d|etails a|
|00001800| 6c 6f 6e 67 20 74 68 65 | 0d 0a 60 60 6d 69 6e 69 |long the|..``mini|
|00001810| 6d 61 6c 20 70 61 74 68 | 27 27 20 74 68 72 6f 75 |mal path|'' throu|
|00001820| 67 68 20 74 68 65 20 67 | 61 6d 65 20 28 74 68 65 |gh the g|ame (the|
|00001830| 20 73 65 72 69 65 73 20 | 6f 66 20 63 6f 6d 6d 61 | series |of comma|
|00001840| 6e 64 73 20 74 68 61 74 | 0d 0a 61 20 70 6c 61 79 |nds that|..a play|
|00001850| 65 72 20 77 6f 75 6c 64 | 20 74 79 70 65 20 74 6f |er would| type to|
|00001860| 20 67 6f 20 74 68 72 6f | 75 67 68 20 74 68 65 20 | go thro|ugh the |
|00001870| 67 61 6d 65 20 66 72 6f | 6d 20 73 74 61 72 74 20 |game fro|m start |
|00001880| 74 6f 20 66 69 6e 69 73 | 68 2c 0d 0a 69 66 20 6e |to finis|h,..if n|
|00001890| 6f 20 6d 69 73 74 61 6b | 65 73 20 61 72 65 20 6d |o mistak|es are m|
|000018a0| 61 64 65 20 61 6e 64 20 | 74 68 65 20 70 6c 61 79 |ade and |the play|
|000018b0| 65 72 20 6e 65 76 65 72 | 20 6e 65 65 64 73 20 74 |er never| needs t|
|000018c0| 6f 20 62 61 63 6b 20 75 | 70 29 2e 0d 0a 54 68 65 |o back u|p)...The|
|000018d0| 20 72 65 6d 61 69 6e 69 | 6e 67 20 64 65 74 61 69 | remaini|ng detai|
|000018e0| 6c 73 20 64 6f 20 6e 6f | 74 20 61 66 66 65 63 74 |ls do no|t affect|
|000018f0| 20 74 68 65 20 70 6c 6f | 74 2c 20 73 6f 20 79 6f | the plo|t, so yo|
|00001900| 75 20 77 69 6c 6c 20 62 | 65 0d 0a 61 62 6c 65 20 |u will b|e..able |
|00001910| 74 6f 20 6d 61 6b 65 20 | 74 68 65 73 65 20 75 70 |to make |these up|
|00001920| 20 61 73 20 79 6f 75 20 | 67 6f 20 77 69 74 68 6f | as you |go witho|
|00001930| 75 74 20 63 72 65 61 74 | 69 6e 67 20 70 6c 6f 74 |ut creat|ing plot|
|00001940| 20 68 6f 6c 65 73 20 6f | 72 0d 0a 69 6e 63 6f 6e | holes o|r..incon|
|00001950| 73 69 73 74 65 6e 63 69 | 65 73 2e 0d 0a 0d 0a 54 |sistenci|es.....T|
|00001960| 68 65 20 63 6f 6d 70 6c | 65 74 65 20 5e 7b 6d 61 |he compl|ete ^{ma|
|00001970| 70 7d 20 61 6e 64 20 6f | 62 6a 65 63 74 20 6c 69 |p} and o|bject li|
|00001980| 73 74 20 69 73 20 74 68 | 65 20 7b 5c 69 74 20 72 |st is th|e {\it r|
|00001990| 65 73 75 6c 74 7d 20 6f | 66 20 74 68 65 0d 0a 64 |esult} o|f the..d|
|000019a0| 65 73 69 67 6e 20 70 72 | 6f 63 65 73 73 2e 20 20 |esign pr|ocess. |
|000019b0| 54 6f 20 67 65 74 20 74 | 68 65 72 65 2c 20 79 6f |To get t|here, yo|
|000019c0| 75 20 77 69 6c 6c 20 70 | 72 6f 62 61 62 6c 79 20 |u will p|robably |
|000019d0| 67 6f 20 74 68 72 6f 75 | 67 68 0d 0a 6d 61 6e 79 |go throu|gh..many|
|000019e0| 20 73 74 65 70 73 2c 20 | 61 64 64 69 6e 67 20 64 | steps, |adding d|
|000019f0| 65 74 61 69 6c 20 61 73 | 20 79 6f 75 20 67 6f 2c |etail as| you go,|
|00001a00| 20 75 6e 74 69 6c 20 79 | 6f 75 20 68 61 76 65 20 | until y|ou have |
|00001a10| 61 20 63 6f 6d 70 6c 65 | 74 65 0d 0a 64 65 73 69 |a comple|te..desi|
|00001a20| 67 6e 2e 20 20 54 68 65 | 20 70 72 6f 63 65 73 73 |gn. The| process|
|00001a30| 20 64 65 74 61 69 6c 65 | 64 20 68 65 72 65 20 69 | detaile|d here i|
|00001a40| 73 20 61 20 67 6f 6f 64 | 20 77 61 79 20 74 6f 20 |s a good| way to |
|00001a50| 64 65 73 69 67 6e 20 61 | 0d 0a 67 61 6d 65 2c 20 |design a|..game, |
|00001a60| 62 75 74 20 79 6f 75 20 | 6d 61 79 20 66 69 6e 64 |but you |may find|
|00001a70| 20 6f 74 68 65 72 20 77 | 61 79 73 20 74 68 61 74 | other w|ays that|
|00001a80| 20 73 75 69 74 20 79 6f | 75 20 62 65 74 74 65 72 | suit yo|u better|
|00001a90| 2e 0d 0a 0d 0a 5c 6d 69 | 6e 6f 72 73 65 63 74 69 |.....\mi|norsecti|
|00001aa0| 6f 6e 7b 50 6c 6f 74 7d | 0d 0a 0d 0a 4d 6f 73 74 |on{Plot}|....Most|
|00001ab0| 20 61 64 76 65 6e 74 75 | 72 65 20 67 61 6d 65 73 | adventu|re games|
|00001ac0| 20 68 61 76 65 20 61 20 | 62 61 73 69 63 20 5e 7b | have a |basic ^{|
|00001ad0| 70 6c 6f 74 7d 20 66 72 | 61 6d 65 77 6f 72 6b 20 |plot} fr|amework |
|00001ae0| 74 68 61 74 20 63 6f 6e | 74 72 6f 6c 73 20 74 68 |that con|trols th|
|00001af0| 65 0d 0a 6f 76 65 72 61 | 6c 6c 20 66 6c 6f 77 20 |e..overa|ll flow |
|00001b00| 6f 66 20 74 68 65 20 67 | 61 6d 65 2e 20 20 54 68 |of the g|ame. Th|
|00001b10| 65 20 70 6c 6f 74 20 69 | 73 20 61 20 67 6f 6f 64 |e plot i|s a good|
|00001b20| 20 70 6c 61 63 65 20 74 | 6f 20 73 74 61 72 74 20 | place t|o start |
|00001b30| 79 6f 75 72 0d 0a 64 65 | 73 69 67 6e 2e 0d 0a 0d |your..de|sign....|
|00001b40| 0a 41 6e 20 61 64 76 65 | 6e 74 75 72 65 20 67 61 |.An adve|nture ga|
|00001b50| 6d 65 27 73 20 70 6c 6f | 74 20 69 73 6e 27 74 20 |me's plo|t isn't |
|00001b60| 75 73 75 61 6c 6c 79 20 | 61 73 20 65 6c 61 62 6f |usually |as elabo|
|00001b70| 72 61 74 65 20 61 73 20 | 74 68 65 20 70 6c 6f 74 |rate as |the plot|
|00001b80| 0d 0a 6f 66 20 61 20 6e | 6f 6e 2d 69 6e 74 65 72 |..of a n|on-inter|
|00001b90| 61 63 74 69 76 65 20 66 | 6f 72 6d 20 6f 66 20 66 |active f|orm of f|
|00001ba0| 69 63 74 69 6f 6e 2c 20 | 73 75 63 68 20 61 73 20 |iction, |such as |
|00001bb0| 61 20 62 6f 6f 6b 20 6f | 72 20 61 20 6d 6f 76 69 |a book o|r a movi|
|00001bc0| 65 2c 0d 0a 62 65 63 61 | 75 73 65 20 79 6f 75 20 |e,..beca|use you |
|00001bd0| 68 61 76 65 20 6d 75 63 | 68 20 6c 65 73 73 20 63 |have muc|h less c|
|00001be0| 6f 6e 74 72 6f 6c 20 6f | 76 65 72 20 74 68 65 20 |ontrol o|ver the |
|00001bf0| 64 65 74 61 69 6c 73 20 | 6f 66 20 74 68 65 0d 0a |details |of the..|
|00001c00| 6d 61 69 6e 20 63 68 61 | 72 61 63 74 65 72 27 73 |main cha|racter's|
|00001c10| 20 61 63 74 69 6f 6e 73 | 2e 20 20 54 68 69 73 20 | actions|. This |
|00001c20| 6d 61 6b 65 73 20 70 6c | 6f 74 20 64 65 73 69 67 |makes pl|ot desig|
|00001c30| 6e 20 6d 75 63 68 20 6d | 6f 72 65 20 64 69 66 66 |n much m|ore diff|
|00001c40| 69 63 75 6c 74 2c 0d 0a | 62 75 74 20 79 6f 75 20 |icult,..|but you |
|00001c50| 73 68 6f 75 6c 64 20 67 | 69 76 65 20 74 68 65 20 |should g|ive the |
|00001c60| 70 6c 61 79 65 72 20 61 | 73 20 6d 75 63 68 20 63 |player a|s much c|
|00001c70| 6f 6e 74 72 6f 6c 20 61 | 73 20 79 6f 75 20 63 61 |ontrol a|s you ca|
|00001c80| 6e 2c 20 73 69 6e 63 65 | 0d 0a 61 64 76 65 6e 74 |n, since|..advent|
|00001c90| 75 72 65 20 67 61 6d 65 | 73 20 61 72 65 20 61 6c |ure game|s are al|
|00001ca0| 77 61 79 73 20 6d 6f 72 | 65 20 73 61 74 69 73 66 |ways mor|e satisf|
|00001cb0| 79 69 6e 67 20 77 68 65 | 6e 20 74 68 65 79 20 67 |ying whe|n they g|
|00001cc0| 69 76 65 20 70 6c 61 79 | 65 72 73 0d 0a 61 20 67 |ive play|ers..a g|
|00001cd0| 72 65 61 74 65 72 20 73 | 65 6e 73 65 20 6f 66 20 |reater s|ense of |
|00001ce0| 63 6f 6e 74 72 6f 6c 2e | 20 20 41 64 76 65 6e 74 |control.| Advent|
|00001cf0| 75 72 65 20 67 61 6d 65 | 20 70 6c 6f 74 73 2c 20 |ure game| plots, |
|00001d00| 74 68 65 72 65 66 6f 72 | 65 2c 0d 0a 73 68 6f 75 |therefor|e,..shou|
|00001d10| 6c 64 20 73 69 6d 70 6c | 79 20 62 65 20 61 20 66 |ld simpl|y be a f|
|00001d20| 72 61 6d 65 77 6f 72 6b | 20 74 68 61 74 20 70 72 |ramework| that pr|
|00001d30| 6f 76 69 64 65 73 20 74 | 68 65 20 67 65 6e 65 72 |ovides t|he gener|
|00001d40| 61 6c 20 64 69 72 65 63 | 74 69 6f 6e 0d 0a 6f 66 |al direc|tion..of|
|00001d50| 20 61 63 74 69 6f 6e 20 | 69 6e 20 74 68 65 20 67 | action |in the g|
|00001d60| 61 6d 65 2c 20 61 6e 64 | 20 73 70 65 63 69 66 69 |ame, and| specifi|
|00001d70| 65 73 20 6f 6e 6c 79 20 | 74 68 65 20 69 6d 70 6f |es only |the impo|
|00001d80| 72 74 61 6e 74 20 65 76 | 65 6e 74 73 2e 0d 0a 0d |rtant ev|ents....|
|00001d90| 0a 0d 0a 5e 5e 7b 67 6f | 61 6c 20 28 6f 66 20 61 |...^^{go|al (of a|
|00001da0| 20 67 61 6d 65 29 7d 0d | 0a 5e 5e 7b 70 75 7a 7a | game)}.|.^^{puzz|
|00001db0| 6c 65 73 7d 0d 0a 59 6f | 75 20 73 68 6f 75 6c 64 |les}..Yo|u should|
|00001dc0| 20 73 74 61 72 74 20 6f | 66 66 20 77 69 74 68 20 | start o|ff with |
|00001dd0| 61 20 62 61 73 69 63 20 | 62 61 63 6b 67 72 6f 75 |a basic |backgrou|
|00001de0| 6e 64 20 61 6e 64 20 67 | 6f 61 6c 2e 20 20 57 68 |nd and g|oal. Wh|
|00001df0| 65 72 65 0d 0a 64 6f 65 | 73 20 74 68 65 20 67 61 |ere..doe|s the ga|
|00001e00| 6d 65 20 74 61 6b 65 20 | 70 6c 61 63 65 3f 20 20 |me take |place? |
|00001e10| 57 68 65 6e 3f 20 20 57 | 68 6f 20 69 73 20 74 68 |When? W|ho is th|
|00001e20| 65 20 6d 61 69 6e 20 63 | 68 61 72 61 63 74 65 72 |e main c|haracter|
|00001e30| 3f 0d 0a 57 68 61 74 20 | 6d 75 73 74 20 62 65 20 |?..What |must be |
|00001e40| 61 63 63 6f 6d 70 6c 69 | 73 68 65 64 20 62 79 20 |accompli|shed by |
|00001e50| 74 68 65 20 74 69 6d 65 | 20 74 68 65 20 67 61 6d |the time| the gam|
|00001e60| 65 20 69 73 20 6f 76 65 | 72 3f 0d 0a 0d 0a 46 6f |e is ove|r?....Fo|
|00001e70| 72 20 65 78 61 6d 70 6c | 65 2c 20 69 6e 20 7b 5c |r exampl|e, in {\|
|00001e80| 69 74 20 44 69 74 63 68 | 20 44 61 79 20 44 72 69 |it Ditch| Day Dri|
|00001e90| 66 74 65 72 7d 2c 20 74 | 68 65 20 6c 6f 63 61 74 |fter}, t|he locat|
|00001ea0| 69 6f 6e 20 69 73 20 74 | 68 65 20 43 61 6c 74 65 |ion is t|he Calte|
|00001eb0| 63 68 20 63 61 6d 70 75 | 73 0d 0a 28 6f 72 20 70 |ch campu|s..(or p|
|00001ec0| 65 72 68 61 70 73 20 43 | 61 6c 74 65 63 68 20 69 |erhaps C|altech i|
|00001ed0| 6e 20 73 6f 6d 65 20 70 | 61 72 61 6c 6c 65 6c 20 |n some p|arallel |
|00001ee0| 75 6e 69 76 65 72 73 65 | 2c 20 73 69 6e 63 65 20 |universe|, since |
|00001ef0| 74 68 65 20 67 61 6d 65 | 0d 0a 69 73 6e 27 74 20 |the game|..isn't |
|00001f00| 61 20 73 74 72 69 63 74 | 6c 79 20 61 63 63 75 72 |a strict|ly accur|
|00001f10| 61 74 65 20 73 69 6d 75 | 6c 61 74 69 6f 6e 20 6f |ate simu|lation o|
|00001f20| 66 20 74 68 65 20 72 65 | 61 6c 20 43 61 6c 74 65 |f the re|al Calte|
|00001f30| 63 68 29 2c 20 61 6e 64 | 20 74 68 65 0d 0a 74 69 |ch), and| the..ti|
|00001f40| 6d 65 20 69 73 20 74 68 | 65 20 70 72 65 73 65 6e |me is th|e presen|
|00001f50| 74 2c 20 67 65 6e 65 72 | 61 6c 6c 79 2c 20 61 6e |t, gener|ally, an|
|00001f60| 64 20 44 69 74 63 68 20 | 44 61 79 2c 20 69 6e 20 |d Ditch |Day, in |
|00001f70| 70 61 72 74 69 63 75 6c | 61 72 2e 20 20 54 68 65 |particul|ar. The|
|00001f80| 0d 0a 6d 61 69 6e 20 63 | 68 61 72 61 63 74 65 72 |..main c|haracter|
|00001f90| 20 69 73 20 61 20 43 61 | 6c 74 65 63 68 20 75 6e | is a Ca|ltech un|
|00001fa0| 64 65 72 63 6c 61 73 73 | 6d 61 6e 2e 20 20 54 68 |derclass|man. Th|
|00001fb0| 65 20 67 6f 61 6c 20 69 | 73 20 74 6f 20 73 6f 6c |e goal i|s to sol|
|00001fc0| 76 65 0d 0a 74 68 65 20 | 44 69 74 63 68 20 44 61 |ve..the |Ditch Da|
|00001fd0| 79 20 60 60 73 74 61 63 | 6b 27 27 20 74 68 61 74 |y ``stac|k'' that|
|00001fe0| 20 74 68 65 20 73 65 6e | 69 6f 72 20 61 63 72 6f | the sen|ior acro|
|00001ff0| 73 73 20 74 68 65 20 68 | 61 6c 6c 20 68 61 73 20 |ss the h|all has |
|00002000| 63 72 65 61 74 65 64 2e | 0d 0a 0d 0a 59 6f 75 20 |created.|....You |
|00002010| 63 61 6e 20 63 6f 6e 74 | 69 6e 75 65 20 62 79 20 |can cont|inue by |
|00002020| 69 64 65 6e 74 69 66 79 | 69 6e 67 20 74 68 65 20 |identify|ing the |
|00002030| 6d 61 6a 6f 72 20 73 75 | 62 2d 67 6f 61 6c 73 20 |major su|b-goals |
|00002040| 74 68 61 74 20 6d 75 73 | 74 20 62 65 20 72 65 61 |that mus|t be rea|
|00002050| 63 68 65 64 0d 0a 69 6e | 20 6f 72 64 65 72 20 74 |ched..in| order t|
|00002060| 6f 20 72 65 61 63 68 20 | 74 68 65 20 6f 76 65 72 |o reach |the over|
|00002070| 61 6c 6c 20 67 6f 61 6c | 20 6f 66 20 74 68 65 20 |all goal| of the |
|00002080| 67 61 6d 65 2e 20 20 49 | 6e 20 7b 5c 69 74 20 44 |game. I|n {\it D|
|00002090| 69 74 63 68 7d 2c 0d 0a | 74 68 65 20 6d 61 6a 6f |itch},..|the majo|
|000020a0| 72 20 73 75 62 2d 67 6f | 61 6c 73 20 61 72 65 20 |r sub-go|als are |
|000020b0| 74 6f 20 66 69 6e 64 20 | 65 61 63 68 20 74 72 65 |to find |each tre|
|000020c0| 61 73 75 72 65 20 6c 69 | 73 74 65 64 20 69 6e 20 |asure li|sted in |
|000020d0| 74 68 65 20 6e 6f 74 65 | 0d 0a 74 68 61 74 20 64 |the note|..that d|
|000020e0| 65 73 63 72 69 62 65 73 | 20 74 68 65 20 73 74 61 |escribes| the sta|
|000020f0| 63 6b 2e 0d 0a 0d 0a 46 | 69 6c 6c 69 6e 67 20 69 |ck.....F|illing i|
|00002100| 6e 20 74 68 65 20 64 65 | 74 61 69 6c 73 20 6f 66 |n the de|tails of|
|00002110| 20 74 68 65 20 70 6c 6f | 74 20 63 61 6e 20 70 72 | the plo|t can pr|
|00002120| 6f 63 65 65 64 20 62 79 | 20 60 60 77 6f 72 6b 69 |oceed by| ``worki|
|00002130| 6e 67 0d 0a 62 61 63 6b | 77 61 72 64 73 27 27 20 |ng..back|wards'' |
|00002140| 66 72 6f 6d 20 74 68 65 | 20 6f 76 65 72 61 6c 6c |from the| overall|
|00002150| 20 67 6f 61 6c 20 74 6f | 20 74 68 65 20 6d 61 6a | goal to| the maj|
|00002160| 6f 72 20 73 75 62 2d 67 | 6f 61 6c 73 2c 20 74 68 |or sub-g|oals, th|
|00002170| 65 6e 0d 0a 62 61 63 6b | 77 61 72 64 73 20 74 6f |en..back|wards to|
|00002180| 20 74 68 65 20 73 6d 61 | 6c 6c 65 72 20 67 6f 61 | the sma|ller goa|
|00002190| 6c 73 20 74 68 61 74 20 | 6d 75 73 74 20 62 65 20 |ls that |must be |
|000021a0| 72 65 61 63 68 65 64 20 | 66 6f 72 20 65 61 63 68 |reached |for each|
|000021b0| 0d 0a 73 75 62 2d 67 6f | 61 6c 2c 20 61 6e 64 20 |..sub-go|al, and |
|000021c0| 73 6f 20 6f 6e 2e 0d 0a | 0d 0a 49 20 77 6f 75 6c |so on...|..I woul|
|000021d0| 64 20 61 64 76 69 73 65 | 20 61 67 61 69 6e 73 74 |d advise| against|
|000021e0| 20 64 65 73 69 67 6e 69 | 6e 67 20 61 20 67 61 6d | designi|ng a gam|
|000021f0| 65 20 77 69 74 68 20 6d | 61 6a 6f 72 20 73 75 62 |e with m|ajor sub|
|00002200| 2d 67 6f 61 6c 73 20 73 | 75 63 68 20 61 73 0d 0a |-goals s|uch as..|
|00002210| 60 60 74 68 65 20 70 6c | 61 79 65 72 20 6d 75 73 |``the pl|ayer mus|
|00002220| 74 20 66 69 6e 64 20 74 | 68 65 20 66 69 76 65 20 |t find t|he five |
|00002230| 72 69 6e 67 73 20 6f 66 | 20 70 6f 77 65 72 2e 27 |rings of| power.'|
|00002240| 27 20 20 57 68 65 6e 20 | 74 68 65 20 73 75 62 2d |' When |the sub-|
|00002250| 67 6f 61 6c 73 0d 0a 61 | 72 65 20 61 62 73 74 72 |goals..a|re abstr|
|00002260| 61 63 74 20 6c 69 6b 65 | 20 74 68 69 73 2c 20 74 |act like| this, t|
|00002270| 68 65 79 20 64 6f 6e 27 | 74 20 73 75 67 67 65 73 |hey don'|t sugges|
|00002280| 74 20 61 6e 79 74 68 69 | 6e 67 20 61 62 6f 75 74 |t anythi|ng about|
|00002290| 20 77 68 61 74 20 79 6f | 75 0d 0a 6d 69 67 68 74 | what yo|u..might|
|000022a0| 20 6e 65 65 64 20 74 6f | 20 64 6f 20 74 6f 20 61 | need to| do to a|
|000022b0| 63 63 6f 6d 70 6c 69 73 | 68 20 74 68 65 6d 2e 20 |ccomplis|h them. |
|000022c0| 20 4f 6e 20 74 68 65 20 | 6f 74 68 65 72 20 68 61 | On the |other ha|
|000022d0| 6e 64 2c 20 69 66 20 61 | 20 73 75 62 2d 67 6f 61 |nd, if a| sub-goa|
|000022e0| 6c 0d 0a 69 73 20 73 6f | 6d 65 74 68 69 6e 67 20 |l..is so|mething |
|000022f0| 63 6f 6e 63 72 65 74 65 | 20 61 6e 64 20 73 70 65 |concrete| and spe|
|00002300| 63 69 66 69 63 20 6c 69 | 6b 65 20 60 60 74 68 65 |cific li|ke ``the|
|00002310| 20 70 6c 61 79 65 72 20 | 6d 75 73 74 20 64 65 73 | player |must des|
|00002320| 74 72 6f 79 0d 0a 74 68 | 65 20 72 61 64 69 6f 20 |troy..th|e radio |
|00002330| 62 72 6f 61 64 63 61 73 | 74 69 6e 67 0d 0a 74 6f |broadcas|ting..to|
|00002340| 77 65 72 2c 27 27 20 74 | 68 65 20 6d 69 6e 6f 72 |wer,'' t|he minor|
|00002350| 20 73 75 62 2d 67 6f 61 | 6c 73 20 63 6f 6d 65 20 | sub-goa|ls come |
|00002360| 61 6c 6d 6f 73 74 20 61 | 75 74 6f 6d 61 74 69 63 |almost a|utomatic|
|00002370| 61 6c 6c 79 3a 20 20 79 | 6f 75 20 6e 65 65 64 20 |ally: y|ou need |
|00002380| 74 6f 0d 0a 62 72 65 61 | 6b 20 69 6e 74 6f 20 74 |to..brea|k into t|
|00002390| 68 65 20 63 6f 6d 70 6f | 75 6e 64 20 77 68 65 72 |he compo|und wher|
|000023a0| 65 20 74 68 65 20 62 72 | 6f 61 64 63 61 73 74 69 |e the br|oadcasti|
|000023b0| 6e 67 20 74 6f 77 65 72 | 20 69 73 20 6c 6f 63 61 |ng tower| is loca|
|000023c0| 74 65 64 2c 20 61 6e 64 | 0d 0a 79 6f 75 27 6c 6c |ted, and|..you'll|
|000023d0| 20 6e 65 65 64 20 73 6f | 6d 65 20 73 6f 72 74 20 | need so|me sort |
|000023e0| 6f 66 20 65 78 70 6c 6f | 73 69 76 65 2c 20 61 6e |of explo|sive, an|
|000023f0| 64 20 79 6f 75 20 6d 61 | 79 20 6e 65 65 64 20 74 |d you ma|y need t|
|00002400| 6f 20 74 75 72 6e 20 6f | 66 66 0d 0a 70 6f 77 65 |o turn o|ff..powe|
|00002410| 72 20 74 6f 20 74 68 65 | 20 74 6f 77 65 72 20 74 |r to the| tower t|
|00002420| 6f 20 61 76 6f 69 64 20 | 62 65 69 6e 67 20 65 6c |o avoid |being el|
|00002430| 65 63 74 72 6f 63 75 74 | 65 64 2e 20 20 42 75 74 |ectrocut|ed. But|
|00002440| 20 69 66 20 79 6f 75 20 | 63 61 6e 0d 0a 74 75 72 | if you |can..tur|
|00002450| 6e 20 6f 66 66 20 74 68 | 65 20 70 6f 77 65 72 2c |n off th|e power,|
|00002460| 20 77 68 79 20 64 6f 20 | 79 6f 75 20 6e 65 65 64 | why do |you need|
|00002470| 20 74 6f 20 62 6c 6f 77 | 20 69 74 20 75 70 3f 20 | to blow| it up? |
|00002480| 20 4d 61 79 62 65 20 62 | 65 63 61 75 73 65 0d 0a | Maybe b|ecause..|
|00002490| 61 6e 20 61 74 74 65 6e | 64 61 6e 74 20 77 69 6c |an atten|dant wil|
|000024a0| 6c 20 63 6f 6d 65 20 61 | 6e 64 20 74 75 72 6e 20 |l come a|nd turn |
|000024b0| 74 68 65 20 70 6f 77 65 | 72 20 62 61 63 6b 20 6f |the powe|r back o|
|000024c0| 6e 20 61 66 74 65 72 20 | 61 20 66 65 77 20 74 75 |n after |a few tu|
|000024d0| 72 6e 73 2e 0d 0a 4e 6f | 77 20 77 65 20 68 61 76 |rns...No|w we hav|
|000024e0| 65 20 61 6e 6f 74 68 65 | 72 20 70 75 7a 7a 6c 65 |e anothe|r puzzle|
|000024f0| 3a 20 20 64 65 61 6c 69 | 6e 67 20 77 69 74 68 20 |: deali|ng with |
|00002500| 74 68 65 20 61 74 74 65 | 6e 64 61 6e 74 2e 20 20 |the atte|ndant. |
|00002510| 53 75 62 2d 67 6f 61 6c | 73 0d 0a 74 68 61 74 20 |Sub-goal|s..that |
|00002520| 61 72 65 20 61 62 73 74 | 72 61 63 74 2c 20 73 75 |are abst|ract, su|
|00002530| 63 68 20 61 73 20 66 69 | 6e 64 69 6e 67 20 66 69 |ch as fi|nding fi|
|00002540| 76 65 20 72 69 6e 67 73 | 20 6f 66 20 70 6f 77 65 |ve rings| of powe|
|00002550| 72 2c 20 61 72 65 6e 27 | 74 20 6e 65 61 72 6c 79 |r, aren'|t nearly|
|00002560| 0d 0a 61 73 20 68 65 6c | 70 66 75 6c 20 69 6e 20 |..as hel|pful in |
|00002570| 67 65 74 74 69 6e 67 20 | 74 6f 20 74 68 65 20 6e |getting |to the n|
|00002580| 65 78 74 20 6c 65 76 65 | 6c 20 6f 66 20 64 65 74 |ext leve|l of det|
|00002590| 61 69 6c 2e 20 20 43 6f | 6e 63 72 65 74 65 0d 0a |ail. Co|ncrete..|
|000025a0| 73 75 62 2d 67 6f 61 6c | 73 20 63 61 6e 20 6f 66 |sub-goal|s can of|
|000025b0| 74 65 6e 20 70 72 6f 76 | 69 64 65 20 61 20 73 65 |ten prov|ide a se|
|000025c0| 65 64 20 74 68 61 74 20 | 79 6f 75 72 20 69 6d 61 |ed that |your ima|
|000025d0| 67 69 6e 61 74 69 6f 6e | 20 63 61 6e 0d 0a 61 6c |gination| can..al|
|000025e0| 6d 6f 73 74 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |most aut|omatical|
|000025f0| 6c 79 20 65 78 70 61 6e | 64 20 69 6e 74 6f 20 61 |ly expan|d into a|
|00002600| 20 66 75 6c 6c 20 73 65 | 74 20 6f 66 20 70 6c 6f | full se|t of plo|
|00002610| 74 20 65 6c 65 6d 65 6e | 74 73 2e 0d 0a 0d 0a 0d |t elemen|ts......|
|00002620| 0a 5c 6d 69 6e 6f 72 73 | 65 63 74 69 6f 6e 7b 53 |.\minors|ection{S|
|00002630| 65 74 74 69 6e 67 7d 0d | 0a 0d 0a 5e 5e 7b 73 65 |etting}.|...^^{se|
|00002640| 74 74 69 6e 67 20 28 6f | 66 20 61 20 67 61 6d 65 |tting (o|f a game|
|00002650| 29 7d 0d 0a 54 68 65 20 | 62 61 73 69 63 20 70 6c |)}..The |basic pl|
|00002660| 6f 74 20 77 69 6c 6c 20 | 70 72 6f 76 69 64 65 20 |ot will |provide |
|00002670| 61 6e 20 6f 76 65 72 61 | 6c 6c 20 73 65 74 74 69 |an overa|ll setti|
|00002680| 6e 67 20 66 6f 72 20 74 | 68 65 20 67 61 6d 65 2c |ng for t|he game,|
|00002690| 20 61 6e 64 0d 0a 74 68 | 65 20 70 6c 6f 74 20 65 | and..th|e plot e|
|000026a0| 6c 65 6d 65 6e 74 73 20 | 77 69 6c 6c 20 75 73 75 |lements |will usu|
|000026b0| 61 6c 6c 79 20 73 75 67 | 67 65 73 74 20 61 20 73 |ally sug|gest a s|
|000026c0| 70 65 63 69 66 69 63 20 | 73 65 74 20 6f 66 20 6c |pecific |set of l|
|000026d0| 61 72 67 65 2d 73 63 61 | 6c 65 0d 0a 6c 6f 63 61 |arge-sca|le..loca|
|000026e0| 74 69 6f 6e 73 2e 20 20 | 53 6f 2c 20 79 6f 75 27 |tions. |So, you'|
|000026f0| 6c 6c 20 73 74 61 72 74 | 20 6f 66 66 20 77 69 74 |ll start| off wit|
|00002700| 68 20 61 20 60 60 6c 6f | 77 2d 72 65 73 6f 6c 75 |h a ``lo|w-resolu|
|00002710| 74 69 6f 6e 27 27 20 6d | 61 70 0d 0a 73 69 6d 70 |tion'' m|ap..simp|
|00002720| 6c 79 20 62 79 20 64 65 | 73 69 67 6e 69 6e 67 20 |ly by de|signing |
|00002730| 74 68 65 20 62 61 73 69 | 63 20 70 6c 6f 74 2e 0d |the basi|c plot..|
|00002740| 0a 0d 0a 4e 65 78 74 2c | 20 79 6f 75 20 63 61 6e |...Next,| you can|
|00002750| 20 73 74 61 72 74 20 66 | 69 6c 6c 69 6e 67 20 69 | start f|illing i|
|00002760| 6e 20 74 68 65 20 73 70 | 65 63 69 66 69 63 20 72 |n the sp|ecific r|
|00002770| 6f 6f 6d 73 2e 20 20 41 | 74 20 74 68 69 73 20 70 |ooms. A|t this p|
|00002780| 6f 69 6e 74 2c 0d 0a 79 | 6f 75 27 6c 6c 20 70 72 |oint,..y|ou'll pr|
|00002790| 6f 62 61 62 6c 79 20 66 | 69 6e 64 20 74 68 61 74 |obably f|ind that|
|000027a0| 20 79 6f 75 20 73 74 61 | 72 74 20 74 6f 20 66 69 | you sta|rt to fi|
|000027b0| 6c 6c 20 69 6e 20 74 68 | 65 20 64 65 74 61 69 6c |ll in th|e detail|
|000027c0| 73 20 6f 66 20 74 68 65 | 0d 0a 70 6c 6f 74 20 61 |s of the|..plot a|
|000027d0| 74 20 74 68 65 20 73 61 | 6d 65 20 74 69 6d 65 20 |t the sa|me time |
|000027e0| 61 73 20 79 6f 75 27 72 | 65 20 66 69 6c 6c 69 6e |as you'r|e fillin|
|000027f0| 67 20 69 6e 20 74 68 65 | 20 64 65 74 61 69 6c 73 |g in the| details|
|00002800| 20 6f 66 20 74 68 65 20 | 73 65 74 74 69 6e 67 2e | of the |setting.|
|00002810| 0d 0a 4d 61 6e 79 20 6c | 6f 63 61 74 69 6f 6e 73 |..Many l|ocations|
|00002820| 20 69 6e 20 74 68 65 20 | 73 65 74 74 69 6e 67 20 | in the |setting |
|00002830| 77 69 6c 6c 20 6f 66 66 | 65 72 20 6e 61 74 75 72 |will off|er natur|
|00002840| 61 6c 20 70 75 7a 7a 6c | 65 73 3a 20 20 69 66 20 |al puzzl|es: if |
|00002850| 79 6f 75 0d 0a 68 61 76 | 65 20 61 20 62 61 6e 6b |you..hav|e a bank|
|00002860| 2c 20 79 6f 75 27 6c 6c | 20 70 72 6f 62 61 62 6c |, you'll| probabl|
|00002870| 79 20 68 61 76 65 20 61 | 20 73 61 66 65 2c 20 66 |y have a| safe, f|
|00002880| 6f 72 20 77 68 69 63 68 | 20 79 6f 75 27 6c 6c 20 |or which| you'll |
|00002890| 6e 65 65 64 0d 0a 74 6f | 20 66 69 6e 64 20 74 68 |need..to| find th|
|000028a0| 65 20 63 6f 6d 62 69 6e | 61 74 69 6f 6e 3b 20 6d |e combin|ation; m|
|000028b0| 61 79 62 65 20 79 6f 75 | 27 6c 6c 20 6e 65 65 64 |aybe you|'ll need|
|000028c0| 20 74 6f 20 66 69 67 75 | 72 65 20 6f 75 74 20 68 | to figu|re out h|
|000028d0| 6f 77 20 74 6f 0d 0a 64 | 65 66 65 61 74 20 74 68 |ow to..d|efeat th|
|000028e0| 65 20 61 6c 61 72 6d 20 | 73 79 73 74 65 6d 2c 20 |e alarm |system, |
|000028f0| 6f 72 20 70 65 72 68 61 | 70 73 20 79 6f 75 27 6c |or perha|ps you'l|
|00002900| 6c 20 6e 65 65 64 20 73 | 6f 6d 65 74 68 69 6e 67 |l need s|omething|
|00002910| 20 74 6f 0d 0a 64 69 73 | 74 72 61 63 74 20 74 68 | to..dis|tract th|
|00002920| 65 20 74 65 6c 6c 65 72 | 3b 20 6d 61 79 62 65 20 |e teller|; maybe |
|00002930| 79 6f 75 27 6c 6c 20 6e | 65 65 64 20 74 6f 20 66 |you'll n|eed to f|
|00002940| 69 6e 64 20 74 68 65 20 | 6b 65 79 20 74 6f 20 74 |ind the |key to t|
|00002950| 68 65 20 73 61 66 65 74 | 79 0d 0a 64 65 70 6f 73 |he safet|y..depos|
|00002960| 69 74 20 62 6f 78 2e 20 | 20 49 66 20 79 6f 75 20 |it box. | If you |
|00002970| 68 61 76 65 20 61 6e 20 | 61 69 72 70 6f 72 74 2c |have an |airport,|
|00002980| 20 79 6f 75 27 6c 6c 20 | 70 72 6f 62 61 62 6c 79 | you'll |probably|
|00002990| 20 6e 65 65 64 20 74 6f | 20 66 69 67 75 72 65 0d | need to| figure.|
|000029a0| 0a 6f 75 74 20 68 6f 77 | 20 74 6f 20 67 65 74 20 |.out how| to get |
|000029b0| 70 61 73 74 20 74 68 65 | 20 6f 76 65 72 6c 79 20 |past the| overly |
|000029c0| 73 65 6e 73 69 74 69 76 | 65 20 6d 65 74 61 6c 20 |sensitiv|e metal |
|000029d0| 64 65 74 65 63 74 6f 72 | 73 2c 20 6f 72 20 79 6f |detector|s, or yo|
|000029e0| 75 27 6c 6c 0d 0a 6e 65 | 65 64 20 74 6f 20 6b 6e |u'll..ne|ed to kn|
|000029f0| 6f 77 20 73 6f 6d 65 6f | 6e 65 27 73 20 69 74 69 |ow someo|ne's iti|
|00002a00| 6e 65 72 61 72 79 2c 20 | 6f 72 20 79 6f 75 27 6c |nerary, |or you'l|
|00002a10| 6c 20 6e 65 65 64 20 74 | 6f 20 66 69 6e 64 20 73 |l need t|o find s|
|00002a20| 6f 6d 65 20 61 69 72 6c | 69 6e 65 0d 0a 74 69 63 |ome airl|ine..tic|
|00002a30| 6b 65 74 73 2c 20 6f 72 | 20 79 6f 75 27 6c 6c 20 |kets, or| you'll |
|00002a40| 6e 65 65 64 20 74 6f 20 | 66 69 6e 64 20 61 20 62 |need to |find a b|
|00002a50| 61 64 67 65 20 6f 72 20 | 6b 65 79 20 6f 72 20 63 |adge or |key or c|
|00002a60| 6f 6d 62 69 6e 61 74 69 | 6f 6e 20 74 6f 20 67 65 |ombinati|on to ge|
|00002a70| 74 0d 0a 69 6e 74 6f 20 | 61 20 72 65 73 74 72 69 |t..into |a restri|
|00002a80| 63 74 65 64 20 61 72 65 | 61 2e 0d 0a 0d 0a 57 68 |cted are|a.....Wh|
|00002a90| 61 74 65 76 65 72 20 74 | 79 70 65 20 6f 66 20 6c |atever t|ype of l|
|00002aa0| 6f 63 61 74 69 6f 6e 20 | 79 6f 75 27 72 65 20 64 |ocation |you're d|
|00002ab0| 65 73 69 67 6e 69 6e 67 | 2c 0d 0a 74 68 65 20 6c |esigning|,..the l|
|00002ac0| 6f 63 61 74 69 6f 6e 20 | 77 69 6c 6c 20 6f 66 74 |ocation |will oft|
|00002ad0| 65 6e 20 73 75 67 67 65 | 73 74 20 61 20 73 65 72 |en sugge|st a ser|
|00002ae0| 69 65 73 20 6f 66 20 70 | 75 7a 7a 6c 65 73 20 74 |ies of p|uzzles t|
|00002af0| 6f 20 62 65 20 73 6f 6c | 76 65 64 2e 0d 0a 41 73 |o be sol|ved...As|
|00002b00| 20 79 6f 75 20 64 65 73 | 69 67 6e 20 74 68 65 20 | you des|ign the |
|00002b10| 73 6f 6c 75 74 69 6f 6e | 73 20 74 6f 20 74 68 65 |solution|s to the|
|00002b20| 20 70 75 7a 7a 6c 65 73 | 2c 20 79 6f 75 27 6c 6c | puzzles|, you'll|
|00002b30| 20 62 65 20 61 64 64 69 | 6e 67 20 64 65 74 61 69 | be addi|ng detai|
|00002b40| 6c 0d 0a 74 6f 20 74 68 | 65 20 70 6c 6f 74 2c 20 |l..to th|e plot, |
|00002b50| 77 68 69 63 68 20 77 69 | 6c 6c 20 69 6e 20 74 75 |which wi|ll in tu|
|00002b60| 72 6e 20 67 69 76 65 20 | 79 6f 75 20 6e 65 77 20 |rn give |you new |
|00002b70| 6c 6f 63 61 74 69 6f 6e | 73 20 74 6f 20 64 65 76 |location|s to dev|
|00002b80| 65 6c 6f 70 2e 0d 0a 0d | 0a 41 73 20 79 6f 75 20 |elop....|.As you |
|00002b90| 66 6c 65 73 68 20 6f 75 | 74 20 74 68 65 20 73 65 |flesh ou|t the se|
|00002ba0| 74 74 69 6e 67 2c 20 79 | 6f 75 20 6d 61 79 20 62 |tting, y|ou may b|
|00002bb0| 65 20 74 65 6d 70 74 65 | 64 20 74 6f 20 61 64 64 |e tempte|d to add|
|00002bc0| 20 65 6e 6f 72 6d 6f 75 | 73 0d 0a 61 6d 6f 75 6e | enormou|s..amoun|
|00002bd0| 74 73 20 6f 66 20 73 70 | 61 63 65 20 74 6f 20 79 |ts of sp|ace to y|
|00002be0| 6f 75 72 20 6c 6f 63 61 | 74 69 6f 6e 73 2e 20 20 |our loca|tions. |
|00002bf0| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 69 66 20 |For exam|ple, if |
|00002c00| 79 6f 75 27 72 65 20 62 | 75 69 6c 64 69 6e 67 0d |you're b|uilding.|
|00002c10| 0a 61 6e 20 61 69 72 70 | 6f 72 74 2c 20 79 6f 75 |.an airp|ort, you|
|00002c20| 20 6d 61 79 20 66 69 6e | 64 20 79 6f 75 72 73 65 | may fin|d yourse|
|00002c30| 6c 66 20 70 75 74 74 69 | 6e 67 20 69 6e 20 64 6f |lf putti|ng in do|
|00002c40| 7a 65 6e 73 20 6f 66 20 | 67 61 74 65 73 2c 20 65 |zens of |gates, e|
|00002c50| 61 63 68 0d 0a 70 72 65 | 74 74 79 20 6d 75 63 68 |ach..pre|tty much|
|00002c60| 20 74 68 65 20 73 61 6d | 65 20 61 73 20 61 6c 6c | the sam|e as all|
|00002c70| 20 74 68 65 20 6f 74 68 | 65 72 73 2e 20 20 57 68 | the oth|ers. Wh|
|00002c80| 69 6c 65 20 74 68 65 20 | 61 64 64 65 64 20 73 70 |ile the |added sp|
|00002c90| 61 63 65 20 6d 61 79 0d | 0a 6d 61 6b 65 20 74 68 |ace may.|.make th|
|00002ca0| 65 20 67 61 6d 65 20 73 | 65 74 74 69 6e 67 20 6d |e game s|etting m|
|00002cb0| 6f 72 65 20 6c 69 6b 65 | 20 61 20 72 65 61 6c 20 |ore like| a real |
|00002cc0| 61 69 72 70 6f 72 74 2c | 20 69 74 20 63 61 6e 20 |airport,| it can |
|00002cd0| 6f 66 74 65 6e 20 68 61 | 72 6d 0d 0a 74 68 65 20 |often ha|rm..the |
|00002ce0| 67 61 6d 65 27 73 20 70 | 6c 61 79 61 62 69 6c 69 |game's p|layabili|
|00002cf0| 74 79 2e 20 20 52 65 6d | 65 6d 62 65 72 2c 20 79 |ty. Rem|ember, y|
|00002d00| 6f 75 27 72 65 20 64 65 | 73 69 67 6e 69 6e 67 20 |ou're de|signing |
|00002d10| 61 20 67 61 6d 65 2c 20 | 6e 6f 74 20 61 6e 0d 0a |a game, |not an..|
|00002d20| 61 69 72 70 6f 72 74 2d | 2d 2d 74 68 65 20 6d 6f |airport-|--the mo|
|00002d30| 73 74 20 69 6d 70 6f 72 | 74 61 6e 74 20 74 68 69 |st impor|tant thi|
|00002d40| 6e 67 20 69 73 20 6d 61 | 6b 69 6e 67 20 74 68 65 |ng is ma|king the|
|00002d50| 20 67 61 6d 65 20 66 75 | 6e 20 74 6f 20 70 6c 61 | game fu|n to pla|
|00002d60| 79 2c 0d 0a 6e 6f 74 20 | 60 60 72 65 61 6c 2e 27 |y,..not |``real.'|
|00002d70| 27 0d 0a 0d 0a 54 68 65 | 20 6d 61 69 6e 20 70 72 |'....The| main pr|
|00002d80| 6f 62 6c 65 6d 20 77 69 | 74 68 20 61 64 64 69 6e |oblem wi|th addin|
|00002d90| 67 20 6c 6f 74 73 20 6f | 66 20 65 73 73 65 6e 74 |g lots o|f essent|
|00002da0| 69 61 6c 6c 79 20 75 6e | 75 73 65 64 20 73 70 61 |ially un|used spa|
|00002db0| 63 65 20 74 6f 0d 0a 61 | 20 67 61 6d 65 20 69 73 |ce to..a| game is|
|00002dc0| 20 74 68 61 74 20 69 74 | 20 74 65 6e 64 73 20 74 | that it| tends t|
|00002dd0| 6f 20 6d 61 6b 65 20 74 | 68 65 20 6c 65 76 65 6c |o make t|he level|
|00002de0| 20 6f 66 20 64 65 74 61 | 69 6c 20 74 68 72 6f 75 | of deta|il throu|
|00002df0| 67 68 6f 75 74 20 74 68 | 65 0d 0a 67 61 6d 65 20 |ghout th|e..game |
|00002e00| 6c 65 73 73 20 63 6f 6e | 73 69 73 74 65 6e 74 2e |less con|sistent.|
|00002e10| 20 20 59 6f 75 20 73 68 | 6f 75 6c 64 20 6d 61 6b | You sh|ould mak|
|00002e20| 65 20 61 6e 20 65 66 66 | 6f 72 74 20 74 6f 20 6b |e an eff|ort to k|
|00002e30| 65 65 70 20 74 68 65 20 | 6c 65 76 65 6c 0d 0a 6f |eep the |level..o|
|00002e40| 66 20 64 65 74 61 69 6c | 20 61 73 20 63 6f 6e 73 |f detail| as cons|
|00002e50| 69 73 74 65 6e 74 20 61 | 73 20 70 6f 73 73 69 62 |istent a|s possib|
|00002e60| 6c 65 20 74 68 72 6f 75 | 67 68 6f 75 74 20 74 68 |le throu|ghout th|
|00002e70| 65 20 67 61 6d 65 2c 20 | 74 6f 20 61 76 6f 69 64 |e game, |to avoid|
|00002e80| 0d 0a 61 6e 6e 6f 79 69 | 6e 67 20 61 6e 64 20 63 |..annoyi|ng and c|
|00002e90| 6f 6e 66 75 73 69 6e 67 | 20 74 68 65 20 70 6c 61 |onfusing| the pla|
|00002ea0| 79 65 72 2e 20 20 49 66 | 20 79 6f 75 20 68 61 76 |yer. If| you hav|
|00002eb0| 65 20 61 20 66 65 77 20 | 72 6f 6f 6d 73 20 77 69 |e a few |rooms wi|
|00002ec0| 74 68 0d 0a 61 20 67 72 | 65 61 74 20 64 65 61 6c |th..a gr|eat deal|
|00002ed0| 20 6f 66 20 64 65 74 61 | 69 6c 20 28 73 75 63 68 | of deta|il (such|
|00002ee0| 20 61 73 20 6c 6f 74 73 | 20 6f 66 20 6f 62 6a 65 | as lots| of obje|
|00002ef0| 63 74 73 20 74 68 61 74 | 20 63 61 6e 20 62 65 0d |cts that| can be.|
|00002f00| 0a 65 78 61 6d 69 6e 65 | 64 20 61 6e 64 20 6d 61 |.examine|d and ma|
|00002f10| 6e 69 70 75 6c 61 74 65 | 64 29 2c 20 74 68 65 20 |nipulate|d), the |
|00002f20| 70 6c 61 79 65 72 20 77 | 69 6c 6c 20 63 6f 6d 65 |player w|ill come|
|00002f30| 20 74 6f 20 65 78 70 65 | 63 74 20 74 68 61 74 0d | to expe|ct that.|
|00002f40| 0a 6c 65 76 65 6c 20 6f | 66 20 64 65 74 61 69 6c |.level o|f detail|
|00002f50| 20 69 6e 20 6f 74 68 65 | 72 20 72 6f 6f 6d 73 2e | in othe|r rooms.|
|00002f60| 20 20 54 68 65 20 64 6f | 7a 65 6e 73 20 6f 66 20 | The do|zens of |
|00002f70| 61 6c 6d 6f 73 74 20 69 | 64 65 6e 74 69 63 61 6c |almost i|dentical|
|00002f80| 0d 0a 61 69 72 70 6f 72 | 74 20 67 61 74 65 73 20 |..airpor|t gates |
|00002f90| 77 69 6c 6c 20 6e 6f 74 | 20 68 61 76 65 20 61 6e |will not| have an|
|00002fa0| 79 74 68 69 6e 67 20 69 | 6e 74 65 72 65 73 74 69 |ything i|nteresti|
|00002fb0| 6e 67 20 74 6f 20 64 6f | 2e 0d 0a 0d 0a 5c 6d 69 |ng to do|.....\mi|
|00002fc0| 6e 6f 72 73 65 63 74 69 | 6f 6e 7b 4f 62 6a 65 63 |norsecti|on{Objec|
|00002fd0| 74 73 20 61 6e 64 20 43 | 68 61 72 61 63 74 65 72 |ts and C|haracter|
|00002fe0| 73 7d 0d 0a 0d 0a 5e 5e | 7b 6e 6f 6e 2d 70 6c 61 |s}....^^|{non-pla|
|00002ff0| 79 65 72 20 63 68 61 72 | 61 63 74 65 72 73 7d 0d |yer char|acters}.|
|00003000| 0a 5e 5e 7b 61 63 74 6f | 72 73 7d 0d 0a 5e 5e 7b |.^^{acto|rs}..^^{|
|00003010| 63 68 61 72 61 63 74 65 | 72 73 20 28 6e 6f 6e 2d |characte|rs (non-|
|00003020| 70 6c 61 79 65 72 29 7d | 0d 0a 59 6f 75 27 6c 6c |player)}|..You'll|
|00003030| 20 70 72 6f 62 61 62 6c | 79 20 65 6e 64 20 75 70 | probabl|y end up|
|00003040| 20 64 65 73 69 67 6e 69 | 6e 67 20 6d 6f 73 74 20 | designi|ng most |
|00003050| 6f 66 20 74 68 65 20 67 | 61 6d 65 20 69 6e 20 74 |of the g|ame in t|
|00003060| 68 65 20 63 6f 75 72 73 | 65 0d 0a 6f 66 20 6d 61 |he cours|e..of ma|
|00003070| 70 70 69 6e 67 20 6f 75 | 74 20 74 68 65 20 73 65 |pping ou|t the se|
|00003080| 74 74 69 6e 67 20 61 6e | 64 20 70 6c 6f 74 2e 20 |tting an|d plot. |
|00003090| 20 41 73 20 79 6f 75 20 | 64 65 76 65 6c 6f 70 20 | As you |develop |
|000030a0| 70 6c 6f 74 20 65 6c 65 | 6d 65 6e 74 73 2c 0d 0a |plot ele|ments,..|
|000030b0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 6d 61 6b 65 20 |you shou|ld make |
|000030c0| 6e 6f 74 65 73 20 6f 66 | 20 74 68 65 20 6f 62 6a |notes of| the obj|
|000030d0| 65 63 74 73 20 61 6e 64 | 20 63 68 61 72 61 63 74 |ects and| charact|
|000030e0| 65 72 73 20 74 68 61 74 | 20 61 72 65 20 69 6e 76 |ers that| are inv|
|000030f0| 6f 6c 76 65 64 2e 0d 0a | 59 6f 75 27 6c 6c 20 70 |olved...|You'll p|
|00003100| 72 6f 62 61 62 6c 79 20 | 66 69 6e 64 20 69 74 20 |robably |find it |
|00003110| 65 61 73 69 65 73 74 20 | 74 6f 20 6e 6f 74 65 20 |easiest |to note |
|00003120| 6f 62 6a 65 63 74 73 20 | 61 6e 64 20 63 68 61 72 |objects |and char|
|00003130| 61 63 74 65 72 73 0d 0a | 6f 6e 20 74 68 65 20 6d |acters..|on the m|
|00003140| 61 70 2c 20 77 68 65 72 | 65 20 74 68 65 79 27 6c |ap, wher|e they'l|
|00003150| 6c 20 62 65 20 70 6c 61 | 63 65 64 2e 0d 0a 0d 0a |l be pla|ced.....|
|00003160| 46 6f 72 20 65 61 63 68 | 20 6f 62 6a 65 63 74 20 |For each| object |
|00003170| 61 6e 64 20 63 68 61 72 | 61 63 74 65 72 2c 20 79 |and char|acter, y|
|00003180| 6f 75 20 73 68 6f 75 6c | 64 20 6d 61 6b 65 20 6e |ou shoul|d make n|
|00003190| 6f 74 65 73 20 61 62 6f | 75 74 20 69 74 73 0d 0a |otes abo|ut its..|
|000031a0| 72 65 6c 65 76 61 6e 63 | 65 20 74 6f 20 74 68 65 |relevanc|e to the|
|000031b0| 20 67 61 6d 65 2c 20 61 | 6e 64 20 77 68 61 74 20 | game, a|nd what |
|000031c0| 69 74 20 64 6f 65 73 2e | 20 20 59 6f 75 20 73 68 |it does.| You sh|
|000031d0| 6f 75 6c 64 20 74 68 69 | 6e 6b 20 63 61 72 65 66 |ould thi|nk caref|
|000031e0| 75 6c 6c 79 0d 0a 61 62 | 6f 75 74 20 77 68 61 74 |ully..ab|out what|
|000031f0| 20 6f 74 68 65 72 20 6f | 62 6a 65 63 74 73 20 6d | other o|bjects m|
|00003200| 69 67 68 74 20 62 65 20 | 75 73 65 64 20 66 6f 72 |ight be |used for|
|00003210| 20 74 68 65 20 73 61 6d | 65 20 70 75 72 70 6f 73 | the sam|e purpos|
|00003220| 65 2c 20 61 6e 64 20 77 | 68 61 74 0d 0a 6f 74 68 |e, and w|hat..oth|
|00003230| 65 72 20 75 73 65 73 20 | 61 6e 20 6f 62 6a 65 63 |er uses |an objec|
|00003240| 74 20 6d 69 67 68 74 20 | 68 61 76 65 2e 20 20 46 |t might |have. F|
|00003250| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 69 66 20 79 |or examp|le, if y|
|00003260| 6f 75 20 68 61 76 65 20 | 61 20 64 6f 6f 72 20 74 |ou have |a door t|
|00003270| 68 61 74 0d 0a 79 6f 75 | 20 6e 65 65 64 20 74 6f |hat..you| need to|
|00003280| 20 62 72 65 61 6b 20 64 | 6f 77 6e 2c 20 61 6e 64 | break d|own, and|
|00003290| 20 79 6f 75 20 69 6e 74 | 65 6e 64 20 74 6f 20 70 | you int|end to p|
|000032a0| 72 6f 76 69 64 65 20 61 | 6e 20 61 78 65 20 66 6f |rovide a|n axe fo|
|000032b0| 72 20 74 68 69 73 0d 0a | 70 75 72 70 6f 73 65 2c |r this..|purpose,|
|000032c0| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 63 6f 6e 73 | you sho|uld cons|
|000032d0| 69 64 65 72 20 74 77 6f | 20 74 68 69 6e 67 73 3a |ider two| things:|
|000032e0| 20 20 57 68 61 74 20 65 | 6c 73 65 20 6d 69 67 68 | What e|lse migh|
|000032f0| 74 20 74 68 65 20 61 78 | 65 0d 0a 72 65 61 73 6f |t the ax|e..reaso|
|00003300| 6e 61 62 6c 79 20 62 65 | 20 65 78 70 65 63 74 65 |nably be| expecte|
|00003310| 64 20 74 6f 20 64 65 73 | 74 6f 72 79 3f 20 20 41 |d to des|tory? A|
|00003320| 6e 64 20 77 68 61 74 20 | 65 6c 73 65 20 6d 69 67 |nd what |else mig|
|00003330| 68 74 20 72 65 61 73 6f | 6e 61 62 6c 79 0d 0a 62 |ht reaso|nably..b|
|00003340| 65 20 65 78 70 65 63 74 | 65 64 20 74 6f 20 62 65 |e expect|ed to be|
|00003350| 20 61 62 6c 65 20 74 6f | 20 62 72 65 61 6b 20 64 | able to| break d|
|00003360| 6f 77 6e 20 74 68 65 20 | 64 6f 6f 72 3f 0d 0a 0d |own the |door?...|
|00003370| 0a 42 65 63 61 75 73 65 | 20 61 20 70 6c 61 79 65 |.Because| a playe|
|00003380| 72 20 63 6f 75 6c 64 20 | 72 65 61 73 6f 6e 61 62 |r could |reasonab|
|00003390| 6c 79 20 65 78 70 65 63 | 74 20 61 6e 20 61 78 65 |ly expec|t an axe|
|000033a0| 20 74 6f 20 68 61 76 65 | 20 6d 61 6e 79 20 75 73 | to have| many us|
|000033b0| 65 73 2c 0d 0a 61 6e 64 | 20 62 65 63 61 75 73 65 |es,..and| because|
|000033c0| 20 6d 61 6e 79 20 6f 62 | 6a 65 63 74 73 20 73 68 | many ob|jects sh|
|000033d0| 6f 75 6c 64 20 62 65 20 | 61 62 6c 65 20 74 6f 20 |ould be |able to |
|000033e0| 62 72 65 61 6b 20 64 6f | 77 6e 20 61 20 64 6f 6f |break do|wn a doo|
|000033f0| 72 2c 20 79 6f 75 0d 0a | 73 68 6f 75 6c 64 20 62 |r, you..|should b|
|00003400| 65 20 76 65 72 79 20 63 | 61 72 65 66 75 6c 20 61 |e very c|areful a|
|00003410| 62 6f 75 74 20 63 72 65 | 61 74 69 6e 67 20 70 75 |bout cre|ating pu|
|00003420| 7a 7a 6c 65 73 20 74 68 | 61 74 0d 0a 69 6e 76 6f |zzles th|at..invo|
|00003430| 6c 76 65 20 62 72 75 74 | 65 20 66 6f 72 63 65 20 |lve brut|e force |
|00003440| 61 6e 64 20 70 6f 77 65 | 72 66 75 6c 20 74 6f 6f |and powe|rful too|
|00003450| 6c 73 20 6f 66 20 67 65 | 6e 65 72 61 6c 20 75 74 |ls of ge|neral ut|
|00003460| 69 6c 69 74 79 2e 20 20 | 45 78 70 6c 6f 73 69 76 |ility. |Explosiv|
|00003470| 65 73 2c 0d 0a 66 6c 61 | 6d 6d 61 62 6c 65 20 6c |es,..fla|mmable l|
|00003480| 69 71 75 69 64 73 2c 20 | 77 65 61 70 6f 6e 73 2c |iquids, |weapons,|
|00003490| 20 61 6e 64 20 68 65 61 | 76 79 20 74 6f 6f 6c 73 | and hea|vy tools|
|000034a0| 20 61 72 65 20 61 6c 6c | 20 6c 69 6b 65 6c 79 20 | are all| likely |
|000034b0| 74 6f 0d 0a 66 72 75 73 | 74 72 61 74 65 20 74 68 |to..frus|trate th|
|000034c0| 65 20 70 6c 61 79 65 72 | 20 77 68 65 6e 20 74 68 |e player| when th|
|000034d0| 65 79 20 64 6f 6e 27 74 | 20 72 65 6d 6f 76 65 20 |ey don't| remove |
|000034e0| 6a 75 73 74 20 61 62 6f | 75 74 20 61 6e 79 0d 0a |just abo|ut any..|
|000034f0| 70 68 79 73 69 63 61 6c | 20 6f 62 73 74 61 63 6c |physical| obstacl|
|00003500| 65 2e 20 20 4f 6e 0d 0a | 74 68 65 20 6f 74 68 65 |e. On..|the othe|
|00003510| 72 20 68 61 6e 64 2c 20 | 69 74 20 77 6f 75 6c 64 |r hand, |it would|
|00003520| 20 62 65 20 76 65 72 79 | 20 73 61 74 69 73 66 79 | be very| satisfy|
|00003530| 69 6e 67 20 69 66 20 79 | 6f 75 20 74 6f 6f 6b 20 |ing if y|ou took |
|00003540| 74 68 65 20 74 72 6f 75 | 62 6c 65 0d 0a 74 6f 20 |the trou|ble..to |
|00003550| 66 75 6c 6c 79 20 72 65 | 61 6c 69 7a 65 20 74 68 |fully re|alize th|
|00003560| 65 20 61 78 65 20 61 6e | 64 20 74 68 65 20 64 6f |e axe an|d the do|
|00003570| 6f 72 20 62 79 20 61 6c | 6c 6f 77 69 6e 67 20 74 |or by al|lowing t|
|00003580| 68 65 20 61 78 65 20 74 | 6f 20 62 72 65 61 6b 0d |he axe t|o break.|
|00003590| 0a 64 6f 77 6e 20 65 76 | 65 72 79 74 68 69 6e 67 |.down ev|erything|
|000035a0| 20 74 68 61 74 27 73 20 | 72 65 61 73 6f 6e 61 62 | that's |reasonab|
|000035b0| 6c 65 2c 20 61 6e 64 20 | 61 6c 6c 6f 77 69 6e 67 |le, and |allowing|
|000035c0| 20 74 68 65 20 64 6f 6f | 72 20 74 6f 20 62 65 0d | the doo|r to be.|
|000035d0| 0a 62 72 6f 6b 65 6e 20 | 64 6f 77 6e 20 62 79 20 |.broken |down by |
|000035e0| 6f 74 68 65 72 20 72 65 | 61 73 6f 6e 61 62 6c 65 |other re|asonable|
|000035f0| 20 6f 62 6a 65 63 74 73 | 2e 0d 0a 0d 0a 5c 6d 61 | objects|.....\ma|
|00003600| 6a 6f 72 73 65 63 74 69 | 6f 6e 7b 49 6d 70 6c 65 |jorsecti|on{Imple|
|00003610| 6d 65 6e 74 61 74 69 6f | 6e 7d 0d 0a 0d 0a 4f 6e |mentatio|n}....On|
|00003620| 63 65 20 79 6f 75 20 68 | 61 76 65 20 74 68 65 20 |ce you h|ave the |
|00003630| 67 61 6d 65 20 66 75 6c | 6c 79 20 64 65 73 69 67 |game ful|ly desig|
|00003640| 6e 65 64 2c 20 79 6f 75 | 27 72 65 20 72 65 61 64 |ned, you|'re read|
|00003650| 79 20 74 6f 20 73 74 61 | 72 74 0d 0a 69 6d 70 6c |y to sta|rt..impl|
|00003660| 65 6d 65 6e 74 69 6e 67 | 2e 20 20 49 6e 20 74 68 |ementing|. In th|
|00003670| 69 73 20 73 65 63 74 69 | 6f 6e 2c 20 77 65 27 6c |is secti|on, we'l|
|00003680| 6c 20 73 68 6f 77 20 68 | 6f 77 20 74 6f 20 69 6d |l show h|ow to im|
|00003690| 70 6c 65 6d 65 6e 74 0d | 0a 74 68 65 20 62 61 73 |plement.|.the bas|
|000036a0| 69 63 20 74 79 70 65 73 | 20 6f 66 20 6f 62 6a 65 |ic types| of obje|
|000036b0| 63 74 73 2e 0d 0a 0d 0a | 53 74 61 72 74 20 6f 66 |cts.....|Start of|
|000036c0| 66 20 62 79 20 64 72 61 | 77 69 6e 67 20 74 68 65 |f by dra|wing the|
|000036d0| 20 6d 61 70 2c 20 61 6e | 64 20 6d 61 6b 69 6e 67 | map, an|d making|
|000036e0| 20 61 6e 6e 6f 74 61 74 | 69 6f 6e 73 20 6f 6e 20 | annotat|ions on |
|000036f0| 74 68 65 20 6d 61 70 0d | 0a 64 65 73 63 72 69 62 |the map.|.describ|
|00003700| 69 6e 67 20 74 68 65 20 | 65 73 73 65 6e 74 69 61 |ing the |essentia|
|00003710| 6c 20 64 65 74 61 69 6c | 73 20 6f 66 20 74 68 65 |l detail|s of the|
|00003720| 20 70 6c 6f 74 2e 20 20 | 54 68 69 73 20 73 68 6f | plot. |This sho|
|00003730| 75 6c 64 20 69 6e 63 6c | 75 64 65 0d 0a 70 6c 61 |uld incl|ude..pla|
|00003740| 63 65 6d 65 6e 74 20 6f | 66 20 74 68 65 20 6d 61 |cement o|f the ma|
|00003750| 6a 6f 72 20 6f 62 6a 65 | 63 74 73 20 69 6e 20 74 |jor obje|cts in t|
|00003760| 68 65 20 67 61 6d 65 2c | 20 61 6e 64 20 64 65 73 |he game,| and des|
|00003770| 63 72 69 70 74 69 6f 6e | 73 20 6f 66 20 74 68 65 |cription|s of the|
|00003780| 0d 0a 69 6d 70 6f 72 74 | 61 6e 74 20 61 63 74 69 |..import|ant acti|
|00003790| 6f 6e 73 20 74 68 65 20 | 70 6c 61 79 65 72 20 6d |ons the |player m|
|000037a0| 75 73 74 20 70 65 72 66 | 6f 72 6d 2e 0d 0a 0d 0a |ust perf|orm.....|
|000037b0| 41 73 20 61 6e 20 65 78 | 61 6d 70 6c 65 2c 20 77 |As an ex|ample, w|
|000037c0| 65 27 6c 6c 20 69 6d 70 | 6c 65 6d 65 6e 74 20 61 |e'll imp|lement a|
|000037d0| 20 67 61 6d 65 20 74 68 | 61 74 20 74 61 6b 65 73 | game th|at takes|
|000037e0| 20 70 6c 61 63 65 20 69 | 6e 20 61 20 73 6d 61 6c | place i|n a smal|
|000037f0| 6c 20 61 69 72 70 6f 72 | 74 2e 0d 0a 4f 75 72 20 |l airpor|t...Our |
|00003800| 61 69 72 70 6f 72 74 20 | 77 69 6c 6c 20 68 61 76 |airport |will hav|
|00003810| 65 20 61 20 74 65 72 6d | 69 6e 61 6c 20 61 72 65 |e a term|inal are|
|00003820| 61 2c 20 61 20 63 6f 6e | 63 6f 75 72 73 65 2c 20 |a, a con|course, |
|00003830| 61 6e 64 20 61 20 67 61 | 74 65 20 61 72 65 61 2e |and a ga|te area.|
|00003840| 0d 0a 57 65 27 6c 6c 20 | 61 6c 73 6f 20 68 61 76 |..We'll |also hav|
|00003850| 65 20 61 20 70 6c 61 6e | 65 20 70 61 72 6b 65 64 |e a plan|e parked|
|00003860| 20 61 74 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 67 | at one |of the g|
|00003870| 61 74 65 73 2e 20 20 54 | 68 65 20 74 65 72 6d 69 |ates. T|he termi|
|00003880| 6e 61 6c 20 61 72 65 61 | 0d 0a 77 69 6c 6c 20 68 |nal area|..will h|
|00003890| 61 76 65 20 61 20 74 69 | 63 6b 65 74 20 63 6f 75 |ave a ti|cket cou|
|000038a0| 6e 74 65 72 2c 20 61 6e | 64 20 61 20 6d 65 74 61 |nter, an|d a meta|
|000038b0| 6c 20 64 65 74 65 63 74 | 6f 72 20 6c 65 61 64 69 |l detect|or leadi|
|000038c0| 6e 67 20 69 6e 74 6f 20 | 74 68 65 20 63 6f 6e 63 |ng into |the conc|
|000038d0| 6f 75 72 73 65 2e 0d 0a | 49 6e 20 74 68 65 20 63 |ourse...|In the c|
|000038e0| 6f 6e 63 6f 75 72 73 65 | 2c 20 74 68 65 72 65 20 |oncourse|, there |
|000038f0| 77 69 6c 6c 20 62 65 20 | 61 20 73 6e 61 63 6b 20 |will be |a snack |
|00003900| 62 61 72 2c 20 61 6e 64 | 20 61 20 6c 6f 63 6b 65 |bar, and| a locke|
|00003910| 64 20 64 6f 6f 72 20 6c | 65 61 64 69 6e 67 20 6f |d door l|eading o|
|00003920| 66 66 0d 0a 69 6e 74 6f | 20 61 20 73 65 63 75 72 |ff..into| a secur|
|00003930| 69 74 79 20 61 72 65 61 | 2e 20 20 54 68 65 20 67 |ity area|. The g|
|00003940| 61 74 65 20 61 72 65 61 | 20 77 69 6c 6c 20 68 61 |ate area| will ha|
|00003950| 76 65 20 61 20 63 6f 75 | 70 6c 65 20 6f 66 20 67 |ve a cou|ple of g|
|00003960| 61 74 65 73 2c 20 70 6c | 75 73 0d 0a 61 20 6c 6f |ates, pl|us..a lo|
|00003970| 63 6b 65 64 20 6d 61 69 | 6e 74 65 6e 61 6e 63 65 |cked mai|ntenance|
|00003980| 20 72 6f 6f 6d 2e 20 20 | 48 65 72 65 27 73 20 74 | room. |Here's t|
|00003990| 68 65 20 62 61 73 69 63 | 20 6d 61 70 20 77 65 27 |he basic| map we'|
|000039a0| 6c 6c 20 62 65 20 69 6d | 70 6c 65 6d 65 6e 74 69 |ll be im|plementi|
|000039b0| 6e 67 2e 0d 0a 0d 0a 25 | 20 67 6f 20 74 6f 20 61 |ng.....%| go to a|
|000039c0| 20 6e 65 77 20 70 61 67 | 65 20 66 6f 72 20 74 68 | new pag|e for th|
|000039d0| 65 20 6d 61 70 0d 0a 5c | 76 66 69 6c 6c 5c 65 6a |e map..\|vfill\ej|
|000039e0| 65 63 74 0d 0a 5c 6e 75 | 6c 6c 5c 76 73 6b 69 70 |ect..\nu|ll\vskip|
|000039f0| 20 34 2e 32 35 69 6e 0d | 0a 0d 0a 54 68 69 73 20 | 4.25in.|...This |
|00003a00| 6d 61 70 20 63 6f 6e 76 | 65 6e 69 65 6e 74 6c 79 |map conv|eniently|
|00003a10| 20 68 61 73 20 61 20 63 | 6f 75 70 6c 65 20 6f 66 | has a c|ouple of|
|00003a20| 20 6c 6f 63 6b 65 64 20 | 61 72 65 61 73 2c 20 77 | locked |areas, w|
|00003a30| 68 69 63 68 20 77 65 20 | 63 61 6e 20 75 73 65 0d |hich we |can use.|
|00003a40| 0a 66 6f 72 20 70 75 7a | 7a 6c 65 73 2e 20 20 49 |.for puz|zles. I|
|00003a50| 6e 20 61 64 64 69 74 69 | 6f 6e 2c 20 77 65 20 63 |n additi|on, we c|
|00003a60| 61 6e 20 70 72 6f 62 61 | 62 6c 79 20 66 69 6e 64 |an proba|bly find|
|00003a70| 20 73 6f 6d 65 20 75 73 | 65 20 66 6f 72 20 74 68 | some us|e for th|
|00003a80| 65 20 6d 65 74 61 6c 0d | 0a 64 65 74 65 63 74 6f |e metal.|.detecto|
|00003a90| 72 2c 20 73 69 6e 63 65 | 20 69 74 20 77 69 6c 6c |r, since| it will|
|00003aa0| 20 70 72 65 76 65 6e 74 | 20 74 68 65 20 70 6c 61 | prevent| the pla|
|00003ab0| 79 65 72 20 66 72 6f 6d | 20 63 61 72 72 79 69 6e |yer from| carryin|
|00003ac0| 67 20 61 6e 79 20 6f 62 | 6a 65 63 74 73 0d 0a 74 |g any ob|jects..t|
|00003ad0| 68 72 6f 75 67 68 20 69 | 74 2e 20 20 54 68 65 20 |hrough i|t. The |
|00003ae0| 70 6c 61 6e 65 20 63 61 | 6e 20 61 6c 73 6f 20 62 |plane ca|n also b|
|00003af0| 65 20 61 20 70 75 7a 7a | 6c 65 2c 20 73 69 6e 63 |e a puzz|le, sinc|
|00003b00| 65 20 79 6f 75 27 64 20 | 6e 6f 72 6d 61 6c 6c 79 |e you'd |normally|
|00003b10| 20 6e 65 65 64 0d 0a 61 | 20 74 69 63 6b 65 74 20 | need..a| ticket |
|00003b20| 74 6f 20 62 6f 61 72 64 | 20 61 20 70 6c 61 6e 65 |to board| a plane|
|00003b30| 2e 20 20 50 6c 75 73 2c | 20 74 68 65 20 63 6f 63 |. Plus,| the coc|
|00003b40| 6b 70 69 74 20 73 68 6f | 75 6c 64 20 62 65 20 72 |kpit sho|uld be r|
|00003b50| 65 73 74 72 69 63 74 65 | 64 20 74 6f 0d 0a 61 69 |estricte|d to..ai|
|00003b60| 72 6c 69 6e 65 20 70 65 | 72 73 6f 6e 6e 65 6c 2e |rline pe|rsonnel.|
|00003b70| 0d 0a 0d 0a 4c 65 74 27 | 73 20 6d 61 6b 65 20 74 |....Let'|s make t|
|00003b80| 68 65 20 67 6f 61 6c 20 | 6f 66 20 74 68 65 20 61 |he goal |of the a|
|00003b90| 69 72 70 6f 72 74 20 73 | 65 67 6d 65 6e 74 20 62 |irport s|egment b|
|00003ba0| 65 20 67 65 74 74 69 6e | 67 20 6f 75 74 20 6f 66 |e gettin|g out of|
|00003bb0| 20 74 68 65 20 61 69 72 | 70 6f 72 74 2e 0d 0a 54 | the air|port...T|
|00003bc0| 68 65 20 70 6c 61 79 65 | 72 20 77 69 6c 6c 20 73 |he playe|r will s|
|00003bd0| 74 61 72 74 20 6f 66 66 | 20 69 6e 20 74 68 65 20 |tart off| in the |
|00003be0| 6d 61 69 6e 20 74 65 72 | 6d 69 6e 61 6c 20 61 72 |main ter|minal ar|
|00003bf0| 65 61 2c 20 62 75 74 20 | 77 6f 6e 27 74 20 62 65 |ea, but |won't be|
|00003c00| 20 61 62 6c 65 0d 0a 74 | 6f 20 67 6f 20 6f 75 74 | able..t|o go out|
|00003c10| 73 69 64 65 20 74 68 65 | 20 74 65 72 6d 69 6e 61 |side the| termina|
|00003c20| 6c 2d 2d 2d 77 65 27 6c | 6c 20 6d 61 6b 65 20 75 |l---we'l|l make u|
|00003c30| 70 20 73 6f 6d 65 20 65 | 78 63 75 73 65 2c 20 73 |p some e|xcuse, s|
|00003c40| 75 63 68 20 61 73 20 68 | 65 61 76 79 0d 0a 74 72 |uch as h|eavy..tr|
|00003c50| 61 66 66 69 63 20 74 68 | 61 74 20 61 6c 77 61 79 |affic th|at alway|
|00003c60| 73 20 70 75 73 68 65 73 | 20 74 68 65 20 70 6c 61 |s pushes| the pla|
|00003c70| 79 65 72 20 62 61 63 6b | 20 69 6e 74 6f 20 74 68 |yer back| into th|
|00003c80| 65 20 74 65 72 6d 69 6e | 61 6c 2c 20 74 6f 0d 0a |e termin|al, to..|
|00003c90| 70 72 65 76 65 6e 74 20 | 65 78 69 74 69 6e 67 20 |prevent |exiting |
|00003ca0| 74 68 61 74 20 77 61 79 | 2e 20 20 28 49 66 20 74 |that way|. (If t|
|00003cb0| 68 69 73 20 77 65 72 65 | 20 61 6e 20 61 63 74 75 |his were| an actu|
|00003cc0| 61 6c 20 67 61 6d 65 2c | 20 77 65 27 64 20 70 72 |al game,| we'd pr|
|00003cd0| 6f 62 61 62 6c 79 0d 0a | 68 61 76 65 20 6d 6f 72 |obably..|have mor|
|00003ce0| 65 20 67 61 6d 65 20 6f | 75 74 73 69 64 65 20 74 |e game o|utside t|
|00003cf0| 68 65 20 61 69 72 70 6f | 72 74 2c 20 73 6f 20 77 |he airpo|rt, so w|
|00003d00| 65 20 77 6f 75 6c 64 6e | 27 74 20 75 73 65 20 73 |e wouldn|'t use s|
|00003d10| 75 63 68 20 61 6e 0d 0a | 61 72 74 69 66 69 63 69 |uch an..|artifici|
|00003d20| 61 6c 20 62 6f 75 6e 64 | 61 72 79 20 61 73 20 68 |al bound|ary as h|
|00003d30| 61 76 69 6e 67 20 68 65 | 61 76 79 20 74 72 61 66 |aving he|avy traf|
|00003d40| 66 69 63 20 74 68 61 74 | 20 70 75 73 68 65 73 20 |fic that| pushes |
|00003d50| 74 68 65 20 70 6c 61 79 | 65 72 0d 0a 62 61 63 6b |the play|er..back|
|00003d60| 20 69 6e 2e 20 20 46 6f | 72 20 74 68 69 73 20 65 | in. Fo|r this e|
|00003d70| 78 61 6d 70 6c 65 2c 20 | 74 68 6f 75 67 68 2c 20 |xample, |though, |
|00003d80| 77 65 20 77 61 6e 74 20 | 74 6f 20 6b 65 65 70 20 |we want |to keep |
|00003d90| 74 68 69 6e 67 73 20 66 | 61 69 72 6c 79 0d 0a 73 |things f|airly..s|
|00003da0| 6d 61 6c 6c 2e 29 20 20 | 54 68 65 20 6f 6e 6c 79 |mall.) |The only|
|00003db0| 20 6f 74 68 65 72 20 6f | 62 76 69 6f 75 73 20 77 | other o|bvious w|
|00003dc0| 61 79 20 74 6f 20 67 65 | 74 20 6f 75 74 20 6f 66 |ay to ge|t out of|
|00003dd0| 20 74 68 65 20 61 69 72 | 70 6f 72 74 20 69 73 0d | the air|port is.|
|00003de0| 0a 74 6f 20 66 6c 79 20 | 6f 75 74 20 6f 6e 20 61 |.to fly |out on a|
|00003df0| 20 70 6c 61 6e 65 3b 20 | 73 6f 2c 20 6c 65 74 27 | plane; |so, let'|
|00003e00| 73 20 6d 61 6b 65 20 74 | 68 65 20 67 6f 61 6c 20 |s make t|he goal |
|00003e10| 62 65 20 74 6f 20 66 6c | 79 20 74 68 65 20 70 6c |be to fl|y the pl|
|00003e20| 61 6e 65 2e 0d 0a 0d 0a | 54 6f 20 74 61 6b 65 20 |ane.....|To take |
|00003e30| 74 68 65 20 70 6c 61 6e | 65 20 6f 75 74 20 6f 66 |the plan|e out of|
|00003e40| 20 74 68 65 20 61 69 72 | 70 6f 72 74 2c 20 74 68 | the air|port, th|
|00003e50| 65 20 70 6c 61 79 65 72 | 20 77 69 6c 6c 20 68 61 |e player| will ha|
|00003e60| 76 65 20 74 6f 20 67 65 | 74 0d 0a 69 6e 74 6f 20 |ve to ge|t..into |
|00003e70| 74 68 65 20 63 6f 63 6b | 70 69 74 2e 20 20 28 57 |the cock|pit. (W|
|00003e80| 65 27 6c 6c 20 69 6d 70 | 6c 65 6d 65 6e 74 20 74 |e'll imp|lement t|
|00003e90| 68 69 73 20 65 78 61 6d | 70 6c 65 20 75 70 20 74 |his exam|ple up t|
|00003ea0| 6f 20 74 68 65 20 70 6f | 69 6e 74 0d 0a 74 68 61 |o the po|int..tha|
|00003eb0| 74 20 74 68 65 20 70 6c | 61 79 65 72 20 6d 61 6b |t the pl|ayer mak|
|00003ec0| 65 73 20 69 74 20 69 6e | 74 6f 20 74 68 65 20 63 |es it in|to the c|
|00003ed0| 6f 63 6b 70 69 74 3b 20 | 69 6e 20 61 20 66 75 6c |ockpit; |in a ful|
|00003ee0| 6c 20 67 61 6d 65 2c 20 | 77 65 27 64 0d 0a 67 6f |l game, |we'd..go|
|00003ef0| 20 6f 6e 20 74 6f 20 6c | 65 74 20 74 68 65 20 70 | on to l|et the p|
|00003f00| 6c 61 79 65 72 20 66 6c | 79 20 74 68 65 20 70 6c |layer fl|y the pl|
|00003f10| 61 6e 65 20 73 6f 6d 65 | 77 68 65 72 65 20 65 6c |ane some|where el|
|00003f20| 73 65 2e 29 20 20 4e 6f | 77 2c 20 6f 6e 6c 79 0d |se.) No|w, only.|
|00003f30| 0a 74 68 65 20 70 69 6c | 6f 74 20 63 61 6e 20 67 |.the pil|ot can g|
|00003f40| 6f 20 69 6e 74 6f 20 74 | 68 65 20 63 6f 63 6b 70 |o into t|he cockp|
|00003f50| 69 74 2d 2d 2d 74 68 65 | 20 66 6c 69 67 68 74 20 |it---the| flight |
|00003f60| 61 74 74 65 6e 64 61 6e | 74 20 77 6f 75 6c 64 6e |attendan|t wouldn|
|00003f70| 27 74 0d 0a 6c 65 74 20 | 61 20 70 61 73 73 65 6e |'t..let |a passen|
|00003f80| 67 65 72 20 69 6e 74 6f | 20 74 68 65 20 63 6f 63 |ger into| the coc|
|00003f90| 6b 70 69 74 2e 20 20 53 | 6f 2c 20 77 65 27 6c 6c |kpit. S|o, we'll|
|00003fa0| 20 6e 65 65 64 20 73 6f | 6d 65 20 77 61 79 20 74 | need so|me way t|
|00003fb0| 6f 0d 0a 67 65 74 20 70 | 61 73 74 20 74 68 65 20 |o..get p|ast the |
|00003fc0| 66 6c 69 67 68 74 20 61 | 74 74 65 6e 64 61 6e 74 |flight a|ttendant|
|00003fd0| 2e 20 20 4f 6e 65 20 77 | 61 79 20 77 6f 75 6c 64 |. One w|ay would|
|00003fe0| 20 62 65 20 74 6f 20 63 | 72 65 61 74 65 20 61 0d | be to c|reate a.|
|00003ff0| 0a 64 69 76 65 72 73 69 | 6f 6e 20 74 68 61 74 20 |.diversi|on that |
|00004000| 64 69 73 74 72 61 63 74 | 73 20 74 68 65 20 66 6c |distract|s the fl|
|00004010| 69 67 68 74 20 61 74 74 | 65 6e 64 61 6e 74 20 6c |ight att|endant l|
|00004020| 6f 6e 67 20 65 6e 6f 75 | 67 68 20 74 6f 0d 0a 73 |ong enou|gh to..s|
|00004030| 6c 69 70 20 62 79 3b 20 | 66 6f 72 20 74 68 69 73 |lip by; |for this|
|00004040| 20 65 78 61 6d 70 6c 65 | 2c 20 74 68 6f 75 67 68 | example|, though|
|00004050| 2c 20 77 65 27 6c 6c 20 | 72 65 71 75 69 72 65 20 |, we'll |require |
|00004060| 74 68 65 20 70 6c 61 79 | 65 72 20 74 6f 0d 0a 66 |the play|er to..f|
|00004070| 69 6e 64 20 61 20 70 69 | 6c 6f 74 27 73 20 75 6e |ind a pi|lot's un|
|00004080| 69 66 6f 72 6d 2e 0d 0a | 0d 0a 57 68 65 72 65 20 |iform...|..Where |
|00004090| 77 6f 75 6c 64 20 74 68 | 65 20 70 69 6c 6f 74 27 |would th|e pilot'|
|000040a0| 73 20 75 6e 69 66 6f 72 | 6d 20 62 65 3f 20 20 54 |s unifor|m be? T|
|000040b0| 68 65 20 70 69 6c 6f 74 | 27 73 20 6c 6f 75 6e 67 |he pilot|'s loung|
|000040c0| 65 20 77 6f 75 6c 64 0d | 0a 62 65 20 61 20 6c 6f |e would.|.be a lo|
|000040d0| 67 69 63 61 6c 20 70 6c | 61 63 65 3b 20 77 65 27 |gical pl|ace; we'|
|000040e0| 6c 6c 20 70 75 74 20 61 | 20 73 75 69 74 63 61 73 |ll put a| suitcas|
|000040f0| 65 20 69 6e 20 74 68 65 | 20 70 69 6c 6f 74 27 73 |e in the| pilot's|
|00004100| 20 6c 6f 75 6e 67 65 0d | 0a 74 68 61 74 20 63 6f | lounge.|.that co|
|00004110| 6e 74 61 69 6e 73 20 61 | 20 75 6e 69 66 6f 72 6d |ntains a| uniform|
|00004120| 2e 20 20 46 6f 72 74 75 | 6e 61 74 65 6c 79 2c 20 |. Fortu|nately, |
|00004130| 74 68 65 20 6c 6f 75 6e | 67 65 20 69 73 20 62 65 |the loun|ge is be|
|00004140| 68 69 6e 64 20 61 0d 0a | 6c 6f 63 6b 65 64 20 64 |hind a..|locked d|
|00004150| 6f 6f 72 2c 20 77 68 69 | 63 68 20 63 72 65 61 74 |oor, whi|ch creat|
|00004160| 65 73 20 61 20 73 65 63 | 6f 6e 64 61 72 79 20 70 |es a sec|ondary p|
|00004170| 75 7a 7a 6c 65 2e 20 20 | 54 6f 20 67 65 74 20 69 |uzzle. |To get i|
|00004180| 6e 74 6f 20 74 68 65 0d | 0a 73 65 63 75 72 69 74 |nto the.|.securit|
|00004190| 79 20 61 72 65 61 20 74 | 68 61 74 20 63 6f 6e 74 |y area t|hat cont|
|000041a0| 61 69 6e 73 20 74 68 65 | 20 70 69 6c 6f 74 27 73 |ains the| pilot's|
|000041b0| 20 6c 6f 75 6e 67 65 2c | 20 74 68 65 20 70 6c 61 | lounge,| the pla|
|000041c0| 79 65 72 20 6e 65 65 64 | 73 0d 0a 61 20 6d 61 67 |yer need|s..a mag|
|000041d0| 6e 65 74 69 63 20 49 44 | 20 63 61 72 64 20 74 6f |netic ID| card to|
|000041e0| 20 70 75 74 20 69 6e 74 | 6f 20 61 20 73 6c 6f 74 | put int|o a slot|
|000041f0| 20 6f 75 74 73 69 64 65 | 20 74 68 65 20 73 65 63 | outside| the sec|
|00004200| 75 72 69 74 79 20 61 72 | 65 61 2e 0d 0a 0d 0a 57 |urity ar|ea.....W|
|00004210| 65 27 6c 6c 20 70 75 74 | 20 74 68 65 20 49 44 20 |e'll put| the ID |
|00004220| 63 61 72 64 20 6f 75 74 | 20 69 6e 20 74 68 65 20 |card out| in the |
|00004230| 6f 70 65 6e 2c 20 6f 6e | 20 74 68 65 20 74 69 63 |open, on| the tic|
|00004240| 6b 65 74 20 63 6f 75 6e | 74 65 72 20 69 6e 0d 0a |ket coun|ter in..|
|00004250| 74 68 65 20 74 65 72 6d | 69 6e 61 6c 20 61 72 65 |the term|inal are|
|00004260| 61 2e 20 20 48 6f 77 65 | 76 65 72 2c 20 77 65 27 |a. Howe|ver, we'|
|00004270| 6c 6c 20 6d 61 6b 65 20 | 69 74 20 69 6d 70 6f 73 |ll make |it impos|
|00004280| 73 69 62 6c 65 20 74 6f | 20 63 61 72 72 79 20 74 |sible to| carry t|
|00004290| 68 65 0d 0a 49 44 20 63 | 61 72 64 20 70 61 73 74 |he..ID c|ard past|
|000042a0| 20 74 68 65 20 6d 65 74 | 61 6c 20 64 65 74 65 63 | the met|al detec|
|000042b0| 74 6f 72 2d 2d 2d 74 68 | 65 20 63 61 72 64 20 77 |tor---th|e card w|
|000042c0| 69 6c 6c 20 73 65 74 20 | 6f 66 66 20 74 68 65 20 |ill set |off the |
|000042d0| 6d 65 74 61 6c 0d 0a 64 | 65 74 65 63 74 6f 72 2c |metal..d|etector,|
|000042e0| 20 61 6e 64 20 74 68 65 | 20 73 65 63 75 72 69 74 | and the| securit|
|000042f0| 79 20 67 75 61 72 64 20 | 77 69 6c 6c 20 63 6f 6e |y guard |will con|
|00004300| 66 69 73 63 61 74 65 20 | 69 74 20 28 61 6e 64 20 |fiscate |it (and |
|00004310| 70 6c 61 63 65 20 69 74 | 0d 0a 62 61 63 6b 20 6f |place it|..back o|
|00004320| 6e 20 74 68 65 20 63 6f | 75 6e 74 65 72 20 73 6f |n the co|unter so|
|00004330| 20 74 68 61 74 20 74 68 | 65 20 70 6c 61 79 65 72 | that th|e player|
|00004340| 20 63 61 6e 20 74 72 79 | 20 61 67 61 69 6e 29 2e | can try| again).|
|00004350| 20 20 54 6f 20 67 65 74 | 0d 0a 74 68 65 20 63 61 | To get|..the ca|
|00004360| 72 64 20 62 79 20 74 68 | 65 20 6d 65 74 61 6c 20 |rd by th|e metal |
|00004370| 64 65 74 65 63 74 6f 72 | 2c 20 79 6f 75 27 6c 6c |detector|, you'll|
|00004380| 20 68 61 76 65 20 74 6f | 20 74 75 72 6e 20 6f 66 | have to| turn of|
|00004390| 66 20 74 68 65 0d 0a 70 | 6f 77 65 72 20 74 6f 20 |f the..p|ower to |
|000043a0| 74 68 65 20 6d 65 74 61 | 6c 20 64 65 74 65 63 74 |the meta|l detect|
|000043b0| 6f 72 2e 0d 0a 0d 0a 54 | 68 65 20 70 6f 77 65 72 |or.....T|he power|
|000043c0| 20 73 77 69 74 63 68 20 | 77 69 6c 6c 20 62 65 20 | switch |will be |
|000043d0| 69 6e 20 74 68 65 20 6d | 61 69 6e 74 65 6e 61 6e |in the m|aintenan|
|000043e0| 63 65 20 72 6f 6f 6d 2c | 20 77 68 69 63 68 20 69 |ce room,| which i|
|000043f0| 73 20 6c 6f 63 6b 65 64 | 0d 0a 77 69 74 68 20 61 |s locked|..with a|
|00004400| 20 6b 65 79 2e 20 20 57 | 65 27 6c 6c 20 6c 65 61 | key. W|e'll lea|
|00004410| 76 65 20 74 68 65 20 6b | 65 79 20 77 69 74 68 20 |ve the k|ey with |
|00004420| 73 6f 6d 65 20 6f 74 68 | 65 72 20 6d 61 69 6e 74 |some oth|er maint|
|00004430| 65 6e 61 6e 63 65 20 69 | 74 65 6d 73 0d 0a 69 6e |enance i|tems..in|
|00004440| 20 74 68 65 20 70 6c 61 | 6e 65 27 73 20 62 61 74 | the pla|ne's bat|
|00004450| 68 72 6f 6f 6d 2d 2d 2d | 77 65 27 6c 6c 20 61 6c |hroom---|we'll al|
|00004460| 73 6f 20 6c 65 61 76 65 | 20 61 20 70 61 69 6c 2c |so leave| a pail,|
|00004470| 20 73 70 6f 6e 67 65 2c | 20 61 6e 64 0d 0a 67 61 | sponge,| and..ga|
|00004480| 72 62 61 67 65 20 62 61 | 67 2c 20 73 6f 20 74 68 |rbage ba|g, so th|
|00004490| 61 74 20 69 74 27 73 20 | 63 6c 65 61 72 20 62 79 |at it's |clear by|
|000044a0| 20 61 73 73 6f 63 69 61 | 74 69 6f 6e 20 74 68 61 | associa|tion tha|
|000044b0| 74 20 74 68 65 20 6b 65 | 79 20 69 73 0d 0a 70 72 |t the ke|y is..pr|
|000044c0| 6f 62 61 62 6c 79 20 66 | 6f 72 20 74 68 65 20 6d |obably f|or the m|
|000044d0| 61 69 6e 74 65 6e 61 6e | 63 65 20 72 6f 6f 6d 2e |aintenan|ce room.|
|000044e0| 0d 0a 0d 0a 54 6f 20 67 | 65 74 20 69 6e 74 6f 20 |....To g|et into |
|000044f0| 74 68 65 20 70 6c 61 6e | 65 27 73 20 62 61 74 68 |the plan|e's bath|
|00004500| 72 6f 6f 6d 2c 20 79 6f | 75 27 6c 6c 20 6e 65 65 |room, yo|u'll nee|
|00004510| 64 20 61 20 74 69 63 6b | 65 74 20 74 6f 20 62 6f |d a tick|et to bo|
|00004520| 61 72 64 0d 0a 74 68 65 | 20 70 6c 61 6e 65 2e 20 |ard..the| plane. |
|00004530| 20 57 65 27 6c 6c 20 6d | 61 6b 65 20 74 68 65 20 | We'll m|ake the |
|00004540| 74 69 63 6b 65 74 20 66 | 61 69 72 6c 79 20 73 69 |ticket f|airly si|
|00004550| 6d 70 6c 65 20 74 6f 20 | 66 69 6e 64 3a 20 20 77 |mple to |find: w|
|00004560| 65 27 6c 6c 0d 0a 6c 65 | 61 76 65 20 69 74 20 68 |e'll..le|ave it h|
|00004570| 69 64 64 65 6e 20 69 6e | 73 69 64 65 20 61 20 6e |idden in|side a n|
|00004580| 65 77 73 70 61 70 65 72 | 20 69 6e 20 74 68 65 20 |ewspaper| in the |
|00004590| 73 6e 61 63 6b 20 62 61 | 72 2e 20 20 41 73 20 73 |snack ba|r. As s|
|000045a0| 6f 6f 6e 0d 0a 61 73 20 | 79 6f 75 20 70 69 63 6b |oon..as |you pick|
|000045b0| 20 75 70 20 74 68 65 20 | 6e 65 77 73 70 61 70 65 | up the |newspape|
|000045c0| 72 2c 20 74 68 65 20 74 | 69 63 6b 65 74 20 77 69 |r, the t|icket wi|
|000045d0| 6c 6c 20 66 61 6c 6c 20 | 6f 75 74 2e 0d 0a 0d 0a |ll fall |out.....|
|000045e0| 53 6f 2c 20 74 68 61 74 | 27 73 20 61 62 6f 75 74 |So, that|'s about|
|000045f0| 20 74 68 65 20 77 68 6f | 6c 65 20 67 61 6d 65 3a | the who|le game:|
|00004600| 20 20 79 6f 75 20 67 6f | 20 74 6f 20 74 68 65 20 | you go| to the |
|00004610| 73 6e 61 63 6b 20 62 61 | 72 2c 20 70 69 63 6b 0d |snack ba|r, pick.|
|00004620| 0a 75 70 20 74 68 65 20 | 6e 65 77 73 70 61 70 65 |.up the |newspape|
|00004630| 72 2c 20 61 6e 64 20 66 | 69 6e 64 20 74 68 65 20 |r, and f|ind the |
|00004640| 74 69 63 6b 65 74 2e 20 | 20 59 6f 75 20 74 61 6b |ticket. | You tak|
|00004650| 65 20 74 68 65 20 74 69 | 63 6b 65 74 20 61 6e 64 |e the ti|cket and|
|00004660| 0d 0a 62 6f 61 72 64 20 | 74 68 65 20 70 6c 61 6e |..board |the plan|
|00004670| 65 2c 20 74 68 65 6e 20 | 67 6f 20 74 6f 20 74 68 |e, then |go to th|
|00004680| 65 20 70 6c 61 6e 65 27 | 73 20 62 61 74 68 72 6f |e plane'|s bathro|
|00004690| 6f 6d 20 61 6e 64 20 67 | 65 74 20 74 68 65 0d 0a |om and g|et the..|
|000046a0| 6b 65 79 2e 20 20 54 61 | 6b 65 20 74 68 65 20 6b |key. Ta|ke the k|
|000046b0| 65 79 20 74 6f 20 74 68 | 65 20 6d 61 69 6e 74 65 |ey to th|e mainte|
|000046c0| 6e 61 6e 63 65 20 72 6f | 6f 6d 2c 20 75 6e 6c 6f |nance ro|om, unlo|
|000046d0| 63 6b 20 74 68 65 20 64 | 6f 6f 72 2c 0d 0a 65 6e |ck the d|oor,..en|
|000046e0| 74 65 72 2c 20 61 6e 64 | 20 74 75 72 6e 20 6f 66 |ter, and| turn of|
|000046f0| 66 20 74 68 65 20 70 6f | 77 65 72 20 74 6f 20 74 |f the po|wer to t|
|00004700| 68 65 20 6d 65 74 61 6c | 20 64 65 74 65 63 74 6f |he metal| detecto|
|00004710| 72 2e 20 20 47 6f 20 62 | 61 63 6b 0d 0a 74 6f 20 |r. Go b|ack..to |
|00004720| 74 68 65 20 74 69 63 6b | 65 74 20 63 6f 75 6e 74 |the tick|et count|
|00004730| 65 72 2c 20 70 69 63 6b | 20 75 70 20 74 68 65 20 |er, pick| up the |
|00004740| 49 44 20 63 61 72 64 2c | 20 67 6f 20 74 6f 20 74 |ID card,| go to t|
|00004750| 68 65 20 73 65 63 75 72 | 69 74 79 0d 0a 64 6f 6f |he secur|ity..doo|
|00004760| 72 2c 20 70 75 74 20 74 | 68 65 20 6d 61 67 6e 65 |r, put t|he magne|
|00004770| 74 69 63 20 63 61 72 64 | 20 69 6e 20 74 68 65 20 |tic card| in the |
|00004780| 73 6c 6f 74 2c 20 61 6e | 64 20 65 6e 74 65 72 20 |slot, an|d enter |
|00004790| 74 68 65 20 73 65 63 75 | 72 69 74 79 0d 0a 61 72 |the secu|rity..ar|
|000047a0| 65 61 2e 20 20 47 6f 20 | 74 6f 20 74 68 65 20 70 |ea. Go |to the p|
|000047b0| 69 6c 6f 74 27 73 20 6c | 6f 75 6e 67 65 2c 20 67 |ilot's l|ounge, g|
|000047c0| 65 74 20 74 68 65 20 70 | 69 6c 6f 74 27 73 20 75 |et the p|ilot's u|
|000047d0| 6e 69 66 6f 72 6d 20 6f | 75 74 20 6f 66 0d 0a 74 |niform o|ut of..t|
|000047e0| 68 65 20 73 75 69 74 63 | 61 73 65 2c 20 61 6e 64 |he suitc|ase, and|
|000047f0| 20 77 65 61 72 20 69 74 | 2e 20 20 47 6f 20 74 6f | wear it|. Go to|
|00004800| 20 74 68 65 20 70 6c 61 | 6e 65 2c 20 61 6e 64 20 | the pla|ne, and |
|00004810| 73 74 72 6f 6c 6c 20 72 | 69 67 68 74 0d 0a 70 61 |stroll r|ight..pa|
|00004820| 73 74 20 74 68 65 20 66 | 6c 69 67 68 74 20 61 74 |st the f|light at|
|00004830| 74 65 6e 64 61 6e 74 20 | 61 6e 64 20 69 6e 74 6f |tendant |and into|
|00004840| 20 74 68 65 20 63 6f 63 | 6b 70 69 74 2e 0d 0a 0d | the coc|kpit....|
|00004850| 0a 57 65 20 73 68 6f 75 | 6c 64 20 64 72 61 77 20 |.We shou|ld draw |
|00004860| 61 20 6e 65 77 20 6d 61 | 70 20 6e 6f 77 2c 20 77 |a new ma|p now, w|
|00004870| 68 69 63 68 20 69 6e 63 | 6c 75 64 65 73 20 61 6e |hich inc|ludes an|
|00004880| 6e 6f 74 61 74 69 6f 6e | 73 20 66 6f 72 0d 0a 74 |notation|s for..t|
|00004890| 68 65 20 6d 61 69 6e 20 | 6f 62 6a 65 63 74 73 20 |he main |objects |
|000048a0| 61 6e 64 20 61 63 74 69 | 6f 6e 73 20 74 68 61 74 |and acti|ons that|
|000048b0| 20 6d 61 6b 65 20 75 70 | 20 74 68 65 20 67 61 6d | make up| the gam|
|000048c0| 65 2e 0d 0a 0d 0a 5c 76 | 66 69 6c 6c 5c 65 6a 65 |e.....\v|fill\eje|
|000048d0| 63 74 5c 6e 75 6c 6c 5c | 76 73 6b 69 70 20 34 2e |ct\null\|vskip 4.|
|000048e0| 35 69 6e 0d 0a 0d 0a 5c | 6d 69 6e 6f 72 73 65 63 |5in....\|minorsec|
|000048f0| 74 69 6f 6e 7b 49 6d 70 | 6c 65 6d 65 6e 74 69 6e |tion{Imp|lementin|
|00004900| 67 20 74 68 65 20 4d 61 | 70 7d 0d 0a 0d 0a 54 68 |g the Ma|p}....Th|
|00004910| 65 20 66 69 72 73 74 20 | 73 74 65 70 20 69 73 20 |e first |step is |
|00004920| 74 6f 20 63 6f 6e 76 65 | 72 74 20 74 68 65 20 73 |to conve|rt the s|
|00004930| 6b 65 6c 65 74 6f 6e 20 | 6f 66 20 79 6f 75 72 20 |keleton |of your |
|00004940| 6d 61 70 20 69 6e 74 6f | 20 74 68 65 0d 0a 62 65 |map into| the..be|
|00004950| 67 69 6e 6e 69 6e 67 73 | 20 6f 66 20 79 6f 75 72 |ginnings| of your|
|00004960| 20 67 61 6d 65 20 70 72 | 6f 67 72 61 6d 2e 20 20 | game pr|ogram. |
|00004970| 41 74 20 74 68 69 73 20 | 70 6f 69 6e 74 2c 20 64 |At this |point, d|
|00004980| 6f 6e 27 74 20 77 6f 72 | 72 79 20 61 62 6f 75 74 |on't wor|ry about|
|00004990| 0d 0a 65 6e 74 65 72 69 | 6e 67 20 61 6c 6c 20 6f |..enteri|ng all o|
|000049a0| 66 20 74 68 65 20 64 65 | 74 61 69 6c 65 64 20 62 |f the de|tailed b|
|000049b0| 65 68 61 76 69 6f 72 20 | 6f 66 20 79 6f 75 72 20 |ehavior |of your |
|000049c0| 6d 61 70 2c 20 62 75 74 | 20 6a 75 73 74 20 62 75 |map, but| just bu|
|000049d0| 69 6c 64 0d 0a 74 68 65 | 20 62 61 73 69 63 20 72 |ild..the| basic r|
|000049e0| 6f 6f 6d 73 20 61 6e 64 | 20 63 6f 6e 6e 65 63 74 |ooms and| connect|
|000049f0| 69 6f 6e 73 20 62 65 74 | 77 65 65 6e 20 72 6f 6f |ions bet|ween roo|
|00004a00| 6d 73 2e 20 20 54 68 69 | 73 20 77 69 6c 6c 20 61 |ms. Thi|s will a|
|00004a10| 6c 6c 6f 77 0d 0a 79 6f | 75 20 74 6f 20 67 65 74 |llow..yo|u to get|
|00004a20| 20 61 20 70 72 6f 74 6f | 74 79 70 65 20 6f 66 20 | a proto|type of |
|00004a30| 74 68 65 20 67 61 6d 65 | 20 72 75 6e 6e 69 6e 67 |the game| running|
|00004a40| 20 71 75 69 63 6b 6c 79 | 2c 20 73 6f 20 79 6f 75 | quickly|, so you|
|00004a50| 20 63 61 6e 0d 0a 77 61 | 6c 6b 20 61 72 6f 75 6e | can..wa|lk aroun|
|00004a60| 64 20 69 74 20 61 6e 64 | 20 73 65 65 20 68 6f 77 |d it and| see how|
|00004a70| 20 69 74 20 66 65 65 6c | 73 2e 0d 0a 0d 0a 53 74 | it feel|s.....St|
|00004a80| 61 72 74 20 6f 66 66 20 | 62 79 20 63 72 65 61 74 |art off |by creat|
|00004a90| 69 6e 67 20 61 20 73 6f | 75 72 63 65 20 66 69 6c |ing a so|urce fil|
|00004aa0| 65 0d 0a 66 6f 72 20 79 | 6f 75 72 20 67 61 6d 65 |e..for y|our game|
|00004ab0| 2c 20 61 6e 64 20 69 6e | 63 6c 75 64 69 6e 67 20 |, and in|cluding |
|00004ac0| 74 68 65 20 62 61 73 65 | 20 64 65 66 69 6e 69 74 |the base| definit|
|00004ad0| 69 6f 6e 20 66 69 6c 65 | 73 3a 0d 0a 0d 0a 7b 5c |ion file|s:....{\|
|00004ae0| 65 78 61 6d 70 6c 65 0d | 0a 5c 23 69 6e 63 6c 75 |example.|.\#inclu|
|00004af0| 64 65 20 3c 61 64 76 2e | 74 3e 0d 0a 5c 23 69 6e |de <adv.|t>..\#in|
|00004b00| 63 6c 75 64 65 20 3c 73 | 74 64 2e 74 3e 0d 0a 7d |clude <s|td.t>..}|
|00004b10| 0d 0a 0d 0a 5e 5e 7b 72 | 6f 6f 6d 73 7d 0d 0a 4e |....^^{r|ooms}..N|
|00004b20| 6f 77 2c 20 66 6f 72 20 | 65 61 63 68 20 72 6f 6f |ow, for |each roo|
|00004b30| 6d 20 69 6e 20 79 6f 75 | 72 20 67 61 6d 65 2c 20 |m in you|r game, |
|00004b40| 6d 61 6b 65 20 61 6e 20 | 65 6e 74 72 79 20 74 68 |make an |entry th|
|00004b50| 61 74 20 67 69 76 65 73 | 20 74 68 65 20 72 6f 6f |at gives| the roo|
|00004b60| 6d 27 73 0d 0a 6e 61 6d | 65 20 28 7b 5c 74 74 20 |m's..nam|e ({\tt |
|00004b70| 73 64 65 73 63 7d 2c 20 | 6f 72 20 73 68 6f 72 74 |sdesc}, |or short|
|00004b80| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 29 20 61 6e | descrip|tion) an|
|00004b90| 64 20 6c 6f 6e 67 20 64 | 65 73 63 72 69 70 74 69 |d long d|escripti|
|00004ba0| 6f 6e 20 28 7b 5c 74 74 | 20 6c 64 65 73 63 7d 29 |on ({\tt| ldesc})|
|00004bb0| 2c 0d 0a 61 6e 64 20 74 | 68 65 20 6f 74 68 65 72 |,..and t|he other|
|00004bc0| 20 72 6f 6f 6d 73 20 74 | 68 61 74 20 61 72 65 20 | rooms t|hat are |
|00004bd0| 63 6f 6e 6e 65 63 74 65 | 64 20 74 6f 20 74 68 69 |connecte|d to thi|
|00004be0| 73 20 72 6f 6f 6d 2e 20 | 20 48 65 72 65 27 73 20 |s room. | Here's |
|00004bf0| 68 6f 77 20 74 6f 0d 0a | 69 6d 70 6c 65 6d 65 6e |how to..|implemen|
|00004c00| 74 20 74 68 65 20 66 69 | 72 73 74 20 66 65 77 20 |t the fi|rst few |
|00004c10| 72 6f 6f 6d 73 20 66 72 | 6f 6d 20 74 68 65 20 73 |rooms fr|om the s|
|00004c20| 61 6d 70 6c 65 20 6d 61 | 70 20 61 62 6f 76 65 2e |ample ma|p above.|
|00004c30| 20 20 46 6f 72 20 74 68 | 65 0d 0a 74 69 6d 65 20 | For th|e..time |
|00004c40| 62 65 69 6e 67 2c 20 77 | 65 20 77 6f 6e 27 74 20 |being, w|e won't |
|00004c50| 77 6f 72 72 79 20 74 6f | 6f 20 6d 75 63 68 20 61 |worry to|o much a|
|00004c60| 62 6f 75 74 20 6d 61 6b | 69 6e 67 20 74 68 65 20 |bout mak|ing the |
|00004c70| 6c 6f 6e 67 20 64 65 73 | 63 72 69 70 74 69 6f 6e |long des|cription|
|00004c80| 73 0d 0a 63 6f 6d 70 6c | 65 74 65 3b 20 77 65 20 |s..compl|ete; we |
|00004c90| 63 61 6e 20 61 6c 77 61 | 79 73 20 66 6c 65 73 68 |can alwa|ys flesh|
|00004ca0| 20 74 68 6f 73 65 20 6f | 75 74 20 6c 61 74 65 72 | those o|ut later|
|00004cb0| 2e 0d 0a 0d 0a 7b 5c 65 | 78 61 6d 70 6c 65 0d 0a |.....{\e|xample..|
|00004cc0| 5c 6f 62 6a 65 63 74 7b | 74 65 72 6d 69 6e 61 6c |\object{|terminal|
|00004cd0| 3a 20 72 6f 6f 6d 7d 0d | 0a 73 64 65 73 63 20 3d |: room}.|.sdesc =|
|00004ce0| 20 22 54 65 72 6d 69 6e | 61 6c 22 0d 0a 6c 64 65 | "Termin|al"..lde|
|00004cf0| 73 63 20 3d 20 22 59 6f | 75 20 61 72 65 20 69 6e |sc = "Yo|u are in|
|00004d00| 20 74 68 65 20 61 69 72 | 70 6f 72 74 27 73 20 6d | the air|port's m|
|00004d10| 61 69 6e 20 74 65 72 6d | 69 6e 61 6c 2e 20 20 54 |ain term|inal. T|
|00004d20| 6f 20 74 68 65 20 65 61 | 73 74 2c 0d 0a 79 6f 75 |o the ea|st,..you|
|00004d30| 20 73 65 65 20 73 6f 6d | 65 20 74 69 63 6b 65 74 | see som|e ticket|
|00004d40| 20 63 6f 75 6e 74 65 72 | 73 3b 20 74 6f 20 74 68 | counter|s; to th|
|00004d50| 65 20 6e 6f 72 74 68 20 | 69 73 20 74 68 65 20 6d |e north |is the m|
|00004d60| 61 69 6e 20 63 6f 6e 63 | 6f 75 72 73 65 2e 22 0d |ain conc|ourse.".|
|00004d70| 0a 65 61 73 74 20 3d 20 | 74 69 63 6b 65 74 43 6f |.east = |ticketCo|
|00004d80| 75 6e 74 65 72 0d 0a 6e | 6f 72 74 68 20 3d 20 73 |unter..n|orth = s|
|00004d90| 65 63 75 72 69 74 79 47 | 61 74 65 0d 0a 5c 65 6e |ecurityG|ate..\en|
|00004da0| 64 6f 62 6a 0d 0a 0d 0a | 5c 6f 62 6a 65 63 74 7b |dobj....|\object{|
|00004db0| 74 69 63 6b 65 74 43 6f | 75 6e 74 65 72 3a 20 72 |ticketCo|unter: r|
|00004dc0| 6f 6f 6d 7d 0d 0a 73 64 | 65 73 63 20 3d 20 22 54 |oom}..sd|esc = "T|
|00004dd0| 69 63 6b 65 74 20 43 6f | 75 6e 74 65 72 22 0d 0a |icket Co|unter"..|
|00004de0| 6c 64 65 73 63 20 3d 20 | 22 59 6f 75 20 61 72 65 |ldesc = |"You are|
|00004df0| 20 69 6e 20 74 68 65 20 | 74 69 63 6b 65 74 20 63 | in the |ticket c|
|00004e00| 6f 75 6e 74 65 72 20 61 | 72 65 61 2e 20 20 54 69 |ounter a|rea. Ti|
|00004e10| 63 6b 65 74 20 63 6f 75 | 6e 74 65 72 73 0d 0a 6c |cket cou|nters..l|
|00004e20| 69 6e 65 20 74 68 65 20 | 6e 6f 72 74 68 20 77 61 |ine the |north wa|
|00004e30| 6c 6c 3b 20 73 6f 20 6d | 61 6e 79 20 70 65 6f 70 |ll; so m|any peop|
|00004e40| 6c 65 20 61 72 65 20 77 | 61 69 74 69 6e 67 20 69 |le are w|aiting i|
|00004e50| 6e 20 6c 69 6e 65 20 74 | 68 61 74 0d 0a 79 6f 75 |n line t|hat..you|
|00004e60| 27 72 65 20 73 75 72 65 | 20 79 6f 75 27 6c 6c 20 |'re sure| you'll |
|00004e70| 6e 65 76 65 72 20 6d 61 | 6e 61 67 65 20 74 6f 20 |never ma|nage to |
|00004e80| 67 65 74 20 74 6f 20 61 | 6e 20 61 67 65 6e 74 2e |get to a|n agent.|
|00004e90| 20 20 54 68 65 20 6d 61 | 69 6e 0d 0a 74 65 72 6d | The ma|in..term|
|00004ea0| 69 6e 61 6c 20 69 73 20 | 62 61 63 6b 20 74 6f 20 |inal is |back to |
|00004eb0| 74 68 65 20 77 65 73 74 | 2e 22 0d 0a 77 65 73 74 |the west|."..west|
|00004ec0| 20 3d 20 74 65 72 6d 69 | 6e 61 6c 0d 0a 5c 65 6e | = termi|nal..\en|
|00004ed0| 64 6f 62 6a 0d 0a 0d 0a | 5c 6f 62 6a 65 63 74 7b |dobj....|\object{|
|00004ee0| 73 65 63 75 72 69 74 79 | 47 61 74 65 3a 20 72 6f |security|Gate: ro|
|00004ef0| 6f 6d 7d 0d 0a 73 64 65 | 73 63 20 3d 20 22 53 65 |om}..sde|sc = "Se|
|00004f00| 63 75 72 69 74 79 20 47 | 61 74 65 22 0d 0a 6c 64 |curity G|ate"..ld|
|00004f10| 65 73 63 20 3d 20 22 59 | 6f 75 20 61 72 65 20 61 |esc = "Y|ou are a|
|00004f20| 74 20 74 68 65 20 73 65 | 63 75 72 69 74 79 20 67 |t the se|curity g|
|00004f30| 61 74 65 20 6c 65 61 64 | 69 6e 67 20 69 6e 74 6f |ate lead|ing into|
|00004f40| 20 74 68 65 20 6d 61 69 | 6e 0d 0a 63 6f 6e 63 6f | the mai|n..conco|
|00004f50| 75 72 73 65 20 61 6e 64 | 20 62 6f 61 72 64 69 6e |urse and| boardin|
|00004f60| 67 20 67 61 74 65 20 61 | 72 65 61 73 2e 20 20 54 |g gate a|reas. T|
|00004f70| 68 65 20 63 6f 6e 63 6f | 75 72 73 65 20 6c 69 65 |he conco|urse lie|
|00004f80| 73 0d 0a 74 6f 20 74 68 | 65 20 6e 6f 72 74 68 2c |s..to th|e north,|
|00004f90| 20 74 68 72 6f 75 67 68 | 20 61 20 6d 65 74 61 6c | through| a metal|
|00004fa0| 20 64 65 74 65 63 74 6f | 72 2e 20 20 54 68 65 20 | detecto|r. The |
|00004fb0| 74 65 72 6d 69 6e 61 6c | 20 69 73 0d 0a 62 61 63 |terminal| is..bac|
|00004fc0| 6b 20 74 6f 20 74 68 65 | 20 73 6f 75 74 68 2e 22 |k to the| south."|
|00004fd0| 0d 0a 6e 6f 72 74 68 20 | 3d 20 63 6f 6e 63 6f 75 |..north |= concou|
|00004fe0| 72 73 65 0d 0a 73 6f 75 | 74 68 20 3d 20 74 65 72 |rse..sou|th = ter|
|00004ff0| 6d 69 6e 61 6c 0d 0a 5c | 65 6e 64 6f 62 6a 0d 0a |minal..\|endobj..|
|00005000| 0d 0a 5c 6f 62 6a 65 63 | 74 7b 63 6f 6e 63 6f 75 |..\objec|t{concou|
|00005010| 72 73 65 3a 20 72 6f 6f | 6d 7d 0d 0a 20 20 20 20 |rse: roo|m}.. |
|00005020| 73 64 65 73 63 20 3d 20 | 22 43 6f 6e 63 6f 75 72 |sdesc = |"Concour|
|00005030| 73 65 22 0d 0a 20 20 20 | 20 6c 64 65 73 63 20 3d |se".. | ldesc =|
|00005040| 20 22 59 6f 75 20 61 72 | 65 20 69 6e 20 61 20 6c | "You ar|e in a l|
|00005050| 6f 6e 67 20 68 61 6c 6c | 77 61 79 20 63 6f 6e 6e |ong hall|way conn|
|00005060| 65 63 74 69 6e 67 20 74 | 68 65 20 74 65 72 6d 69 |ecting t|he termi|
|00005070| 6e 61 6c 0d 0a 20 20 20 | 20 62 75 6c 69 64 69 6e |nal.. | bulidin|
|00005080| 67 20 28 77 68 69 63 68 | 20 6c 69 65 73 20 74 6f |g (which| lies to|
|00005090| 20 74 68 65 20 73 6f 75 | 74 68 29 20 74 6f 20 74 | the sou|th) to t|
|000050a0| 68 65 20 62 6f 61 72 64 | 69 6e 67 20 67 61 74 65 |he board|ing gate|
|000050b0| 73 20 28 77 68 69 63 68 | 0d 0a 20 20 20 20 61 72 |s (which|.. ar|
|000050c0| 65 20 74 6f 20 74 68 65 | 20 6e 6f 72 74 68 29 2e |e to the| north).|
|000050d0| 20 20 54 6f 20 74 68 65 | 20 65 61 73 74 20 69 73 | To the| east is|
|000050e0| 20 61 20 73 6e 61 63 6b | 20 62 61 72 2c 20 61 6e | a snack| bar, an|
|000050f0| 64 20 61 20 64 6f 6f 72 | 20 6c 65 61 64 73 0d 0a |d a door| leads..|
|00005100| 20 20 20 20 77 65 73 74 | 2e 20 20 4e 65 78 74 20 | west|. Next |
|00005110| 74 6f 20 74 68 65 20 64 | 6f 6f 72 20 6f 6e 20 74 |to the d|oor on t|
|00005120| 68 65 20 77 65 73 74 20 | 69 6e 20 61 20 73 6d 61 |he west |in a sma|
|00005130| 6c 6c 20 73 6c 6f 74 20 | 74 68 61 74 20 6c 6f 6f |ll slot |that loo|
|00005140| 6b 73 0d 0a 20 20 20 20 | 6c 69 6b 65 20 69 74 20 |ks.. |like it |
|00005150| 61 63 63 65 70 74 73 20 | 6d 61 67 6e 65 74 69 63 |accepts |magnetic|
|00005160| 20 49 44 20 63 61 72 64 | 73 20 74 6f 20 6f 70 65 | ID card|s to ope|
|00005170| 72 61 74 65 20 74 68 65 | 20 64 6f 6f 72 20 6c 6f |rate the| door lo|
|00005180| 63 6b 2e 22 0d 0a 20 20 | 20 20 6e 6f 72 74 68 20 |ck.".. | north |
|00005190| 3d 20 67 61 74 65 41 72 | 65 61 0d 0a 20 20 20 20 |= gateAr|ea.. |
|000051a0| 73 6f 75 74 68 20 3d 20 | 73 65 63 75 72 69 74 79 |south = |security|
|000051b0| 47 61 74 65 0d 0a 20 20 | 20 20 65 61 73 74 20 3d |Gate.. | east =|
|000051c0| 20 73 6e 61 63 6b 42 61 | 72 0d 0a 20 20 20 20 77 | snackBa|r.. w|
|000051d0| 65 73 74 20 3d 20 73 65 | 63 75 72 69 74 79 41 72 |est = se|curityAr|
|000051e0| 65 61 0d 0a 5c 65 6e 64 | 6f 62 6a 0d 0a 7d 0d 0a |ea..\end|obj..}..|
|000051f0| 0d 0a 54 68 65 20 6f 74 | 68 65 72 20 72 6f 6f 6d |..The ot|her room|
|00005200| 73 20 61 72 65 20 69 6d | 70 6c 65 6d 65 6e 74 65 |s are im|plemente|
|00005210| 64 20 69 6e 20 74 68 65 | 20 73 61 6d 65 20 6d 61 |d in the| same ma|
|00005220| 6e 6e 65 72 2e 20 20 46 | 6f 72 20 6e 6f 77 2c 0d |nner. F|or now,.|
|00005230| 0a 77 65 27 72 65 20 6e | 6f 74 20 77 6f 72 72 79 |.we're n|ot worry|
|00005240| 69 6e 67 20 61 62 6f 75 | 74 20 74 68 65 20 69 74 |ing abou|t the it|
|00005250| 65 6d 73 20 63 6f 6e 74 | 61 69 6e 65 64 20 69 6e |ems cont|ained in|
|00005260| 20 74 68 65 20 72 6f 6f | 6d 73 2c 20 6f 72 0d 0a | the roo|ms, or..|
|00005270| 74 68 65 20 6f 74 68 65 | 72 20 70 65 6f 70 6c 65 |the othe|r people|
|00005280| 20 61 72 6f 75 6e 64 2c | 20 6f 72 20 65 76 65 6e | around,| or even|
|00005290| 20 74 68 65 20 6c 6f 63 | 6b 65 64 20 64 6f 6f 72 | the loc|ked door|
|000052a0| 73 2e 20 20 57 65 27 6c | 6c 20 6a 75 73 74 0d 0a |s. We'l|l just..|
|000052b0| 69 6d 70 6c 65 6d 65 6e | 74 20 61 6c 6c 20 74 68 |implemen|t all th|
|000052c0| 65 20 72 6f 6f 6d 73 20 | 73 6f 20 77 65 20 63 61 |e rooms |so we ca|
|000052d0| 6e 20 77 61 6c 6b 20 74 | 68 72 6f 75 67 68 20 74 |n walk t|hrough t|
|000052e0| 68 65 20 6d 61 70 20 61 | 6e 64 0d 0a 74 72 79 20 |he map a|nd..try |
|000052f0| 69 74 20 6f 75 74 2e 0d | 0a 0d 0a 5c 6d 69 6e 6f |it out..|...\mino|
|00005300| 72 73 65 63 74 69 6f 6e | 7b 49 6d 70 6c 65 6d 65 |rsection|{Impleme|
|00005310| 6e 74 69 6e 67 20 74 68 | 65 20 69 74 65 6d 73 7d |nting th|e items}|
|00005320| 0d 0a 0d 0a 54 68 65 20 | 6e 65 78 74 20 73 74 65 |....The |next ste|
|00005330| 70 20 69 73 20 74 6f 20 | 69 6d 70 6c 65 6d 65 6e |p is to |implemen|
|00005340| 74 20 74 68 65 20 62 61 | 73 69 63 20 6f 62 6a 65 |t the ba|sic obje|
|00005350| 63 74 73 20 74 68 61 74 | 20 6d 61 6b 65 20 75 70 |cts that| make up|
|00005360| 20 74 68 65 0d 0a 67 61 | 6d 65 2e 20 20 41 73 20 | the..ga|me. As |
|00005370| 77 69 74 68 20 74 68 65 | 20 72 6f 6f 6d 73 2c 20 |with the| rooms, |
|00005380| 64 6f 6e 27 74 20 77 6f | 72 72 79 20 61 62 6f 75 |don't wo|rry abou|
|00005390| 74 20 74 68 65 20 63 6f | 6d 70 6c 65 78 20 62 65 |t the co|mplex be|
|000053a0| 68 61 76 69 6f 72 0d 0a | 6f 66 20 73 6f 6d 65 20 |havior..|of some |
|000053b0| 6f 66 20 74 68 65 20 6f | 62 6a 65 63 74 73 20 61 |of the o|bjects a|
|000053c0| 74 20 74 68 69 73 20 70 | 6f 69 6e 74 3b 20 6a 75 |t this p|oint; ju|
|000053d0| 73 74 20 67 6f 20 74 68 | 72 6f 75 67 68 20 61 6e |st go th|rough an|
|000053e0| 64 20 77 72 69 74 65 0d | 0a 62 61 73 69 63 20 6f |d write.|.basic o|
|000053f0| 62 6a 65 63 74 20 64 65 | 66 69 6e 69 74 69 6f 6e |bject de|finition|
|00005400| 73 20 66 6f 72 20 74 68 | 65 20 6d 61 69 6e 20 69 |s for th|e main i|
|00005410| 74 65 6d 73 20 69 6e 20 | 74 68 65 20 67 61 6d 65 |tems in |the game|
|00005420| 2e 0d 0a 0d 0a 5e 5e 7b | 69 74 65 6d 73 7d 0d 0a |.....^^{|items}..|
|00005430| 49 74 65 6d 73 20 68 61 | 76 65 20 64 69 66 66 65 |Items ha|ve diffe|
|00005440| 72 65 6e 74 20 70 72 6f | 70 65 72 74 69 65 73 20 |rent pro|perties |
|00005450| 74 68 61 6e 20 72 6f 6f | 6d 73 2e 20 20 54 68 65 |than roo|ms. The|
|00005460| 20 62 61 73 69 63 20 70 | 72 6f 70 65 72 74 69 65 | basic p|ropertie|
|00005470| 73 0d 0a 6f 66 20 61 6e | 20 69 74 65 6d 20 61 72 |s..of an| item ar|
|00005480| 65 20 69 74 73 20 6e 61 | 6d 65 20 28 7b 5c 74 74 |e its na|me ({\tt|
|00005490| 20 73 64 65 73 63 7d 29 | 2c 20 6c 6f 6e 67 20 64 | sdesc})|, long d|
|000054a0| 65 73 63 72 69 70 74 69 | 6f 6e 20 28 7b 5c 74 74 |escripti|on ({\tt|
|000054b0| 20 6c 64 65 73 63 7d 29 | 2c 0d 0a 76 6f 63 61 62 | ldesc})|,..vocab|
|000054c0| 75 6c 61 72 79 20 77 6f | 72 64 73 20 28 7b 5c 74 |ulary wo|rds ({\t|
|000054d0| 74 20 6e 6f 75 6e 7d 20 | 61 6e 64 20 70 6f 73 73 |t noun} |and poss|
|000054e0| 69 62 6c 79 20 7b 5c 74 | 74 20 61 64 6a 65 63 74 |ibly {\t|t adject|
|000054f0| 69 76 65 7d 29 2c 20 61 | 6e 64 0d 0a 63 6f 6e 74 |ive}), a|nd..cont|
|00005500| 61 69 6e 65 72 20 28 7b | 5c 74 74 20 6c 6f 63 61 |ainer ({|\tt loca|
|00005510| 74 69 6f 6e 7d 2c 20 77 | 68 69 63 68 20 6d 61 79 |tion}, w|hich may|
|00005520| 20 62 65 20 65 69 74 68 | 65 72 20 61 20 72 6f 6f | be eith|er a roo|
|00005530| 6d 20 6f 72 20 61 6e 6f | 74 68 65 72 0d 0a 69 74 |m or ano|ther..it|
|00005540| 65 6d 29 2e 20 20 49 66 | 20 74 68 65 20 69 74 65 |em). If| the ite|
|00005550| 6d 20 63 61 6e 20 62 65 | 20 63 61 72 72 69 65 64 |m can be| carried|
|00005560| 20 62 79 20 74 68 65 20 | 70 6c 61 79 65 72 2c 20 | by the |player, |
|00005570| 74 68 65 20 6f 62 6a 65 | 63 74 20 77 69 6c 6c 0d |the obje|ct will.|
|00005580| 0a 62 65 20 6f 66 20 63 | 6c 61 73 73 20 7b 5c 74 |.be of c|lass {\t|
|00005590| 74 20 69 74 65 6d 7d 3b | 20 69 66 20 6e 6f 74 2c |t item};| if not,|
|000055a0| 20 69 74 20 77 69 6c 6c | 20 62 65 20 6f 66 20 63 | it will| be of c|
|000055b0| 6c 61 73 73 20 7b 5c 74 | 74 20 66 69 78 65 64 69 |lass {\t|t fixedi|
|000055c0| 74 65 6d 7d 2e 0d 0a 53 | 6f 6d 65 20 69 74 65 6d |tem}...S|ome item|
|000055d0| 73 20 6d 61 79 20 62 65 | 20 6f 66 20 64 69 66 66 |s may be| of diff|
|000055e0| 65 72 65 6e 74 20 63 6c | 61 73 73 65 73 3b 20 66 |erent cl|asses; f|
|000055f0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 69 66 20 79 |or examp|le, if y|
|00005600| 6f 75 20 77 61 6e 74 0d | 0a 74 6f 20 6d 61 6b 65 |ou want.|.to make|
|00005610| 20 61 6e 20 6f 62 6a 65 | 63 74 20 74 68 61 74 20 | an obje|ct that |
|00005620| 63 61 6e 20 63 6f 6e 74 | 61 69 6e 20 6f 74 68 65 |can cont|ain othe|
|00005630| 72 20 6f 62 6a 65 63 74 | 73 20 28 73 75 63 68 20 |r object|s (such |
|00005640| 61 73 20 74 68 65 20 70 | 61 69 6c 29 2c 0d 0a 6d |as the p|ail),..m|
|00005650| 61 6b 65 20 69 74 20 61 | 20 7b 5c 74 74 20 63 6f |ake it a| {\tt co|
|00005660| 6e 74 61 69 6e 65 72 7d | 2e 20 20 49 66 20 79 6f |ntainer}|. If yo|
|00005670| 75 20 77 61 6e 74 20 74 | 6f 20 62 65 20 61 62 6c |u want t|o be abl|
|00005680| 65 20 74 6f 20 70 75 74 | 20 6f 62 6a 65 63 74 73 |e to put| objects|
|00005690| 0d 0a 6f 6e 20 74 6f 70 | 20 6f 66 20 61 6e 6f 74 |..on top| of anot|
|000056a0| 68 65 72 20 6f 62 6a 65 | 63 74 2c 20 75 73 65 20 |her obje|ct, use |
|000056b0| 61 20 7b 5c 74 74 20 73 | 75 72 66 61 63 65 7d 20 |a {\tt s|urface} |
|000056c0| 6f 62 6a 65 63 74 2e 0d | 0a 59 6f 75 20 63 61 6e |object..|.You can|
|000056d0| 20 6d 61 6b 65 20 73 6f | 6d 65 74 68 69 6e 67 20 | make so|mething |
|000056e0| 62 6f 74 68 20 61 20 7b | 5c 74 74 20 63 6f 6e 74 |both a {|\tt cont|
|000056f0| 61 69 6e 65 72 7d 20 6f | 72 20 7b 5c 74 74 20 73 |ainer} o|r {\tt s|
|00005700| 75 72 66 61 63 65 7d 20 | 61 6e 64 0d 0a 61 20 7b |urface} |and..a {|
|00005710| 5c 74 74 20 66 69 78 65 | 64 69 74 65 6d 7d 20 69 |\tt fixe|ditem} i|
|00005720| 66 20 79 6f 75 20 77 61 | 6e 74 2e 0d 0a 0d 0a 48 |f you wa|nt.....H|
|00005730| 65 72 65 20 61 72 65 20 | 73 6f 6d 65 20 6f 66 20 |ere are |some of |
|00005740| 74 68 65 20 62 61 73 69 | 63 20 6f 62 6a 65 63 74 |the basi|c object|
|00005750| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 66 6f 72 | definit|ions for|
|00005760| 20 6f 75 72 20 73 61 6d | 70 6c 65 20 67 61 6d 65 | our sam|ple game|
|00005770| 2e 0d 0a 0d 0a 7b 5c 65 | 78 61 6d 70 6c 65 0d 0a |.....{\e|xample..|
|00005780| 5c 6f 62 6a 65 63 74 7b | 63 6f 75 6e 74 65 72 3a |\object{|counter:|
|00005790| 20 66 69 78 65 64 69 74 | 65 6d 2c 20 73 75 72 66 | fixedit|em, surf|
|000057a0| 61 63 65 7d 0d 0a 20 20 | 20 20 6c 6f 63 61 74 69 |ace}.. | locati|
|000057b0| 6f 6e 20 3d 20 74 69 63 | 6b 65 74 43 6f 75 6e 74 |on = tic|ketCount|
|000057c0| 65 72 0d 0a 20 20 20 20 | 6e 6f 75 6e 20 3d 20 27 |er.. |noun = '|
|000057d0| 63 6f 75 6e 74 65 72 27 | 0d 0a 20 20 20 20 61 64 |counter'|.. ad|
|000057e0| 6a 65 63 74 69 76 65 20 | 3d 20 27 74 69 63 6b 65 |jective |= 'ticke|
|000057f0| 74 27 0d 0a 20 20 20 20 | 73 64 65 73 63 20 3d 20 |t'.. |sdesc = |
|00005800| 22 74 69 63 6b 65 74 20 | 63 6f 75 6e 74 65 72 22 |"ticket |counter"|
|00005810| 0d 0a 5c 65 6e 64 6f 62 | 6a 0d 0a 0d 0a 5c 6f 62 |..\endob|j....\ob|
|00005820| 6a 65 63 74 7b 49 44 63 | 61 72 64 3a 20 69 74 65 |ject{IDc|ard: ite|
|00005830| 6d 7d 0d 0a 20 20 20 20 | 6c 6f 63 61 74 69 6f 6e |m}.. |location|
|00005840| 20 3d 20 63 6f 75 6e 74 | 65 72 0d 0a 20 20 20 20 | = count|er.. |
|00005850| 6e 6f 75 6e 20 3d 20 27 | 63 61 72 64 27 0d 0a 20 |noun = '|card'.. |
|00005860| 20 20 20 61 64 6a 65 63 | 74 69 76 65 20 3d 20 27 | adjec|tive = '|
|00005870| 69 64 27 20 27 69 64 65 | 6e 74 69 66 69 63 61 74 |id' 'ide|ntificat|
|00005880| 69 6f 6e 27 0d 0a 20 20 | 20 20 73 64 65 73 63 20 |ion'.. | sdesc |
|00005890| 3d 20 22 49 44 20 63 61 | 72 64 22 0d 0a 20 20 20 |= "ID ca|rd".. |
|000058a0| 20 61 64 65 73 63 20 3d | 20 22 61 6e 20 49 44 20 | adesc =| "an ID |
|000058b0| 63 61 72 64 22 0d 0a 5c | 65 6e 64 6f 62 6a 0d 0a |card"..\|endobj..|
|000058c0| 0d 0a 5c 6f 62 6a 65 63 | 74 7b 6e 65 77 73 70 61 |..\objec|t{newspa|
|000058d0| 70 65 72 3a 20 72 65 61 | 64 61 62 6c 65 7d 0d 0a |per: rea|dable}..|
|000058e0| 20 20 20 20 6c 6f 63 61 | 74 69 6f 6e 20 3d 20 73 | loca|tion = s|
|000058f0| 6e 61 63 6b 42 61 72 0d | 0a 20 20 20 20 6e 6f 75 |nackBar.|. nou|
|00005900| 6e 20 3d 20 27 6e 65 77 | 73 70 61 70 65 72 27 20 |n = 'new|spaper' |
|00005910| 27 70 61 70 65 72 27 0d | 0a 20 20 20 20 61 64 6a |'paper'.|. adj|
|00005920| 65 63 74 69 76 65 20 3d | 20 27 6e 65 77 73 27 0d |ective =| 'news'.|
|00005930| 0a 20 20 20 20 73 64 65 | 73 63 20 3d 20 22 6e 65 |. sde|sc = "ne|
|00005940| 77 73 70 61 70 65 72 22 | 0d 0a 20 20 20 20 6c 64 |wspaper"|.. ld|
|00005950| 65 73 63 20 3d 20 22 49 | 74 27 73 20 74 6f 64 61 |esc = "I|t's toda|
|00005960| 79 27 73 20 63 6f 70 79 | 20 6f 66 20 55 53 41 20 |y's copy| of USA |
|00005970| 59 45 53 54 45 52 44 41 | 59 2e 22 0d 0a 20 20 20 |YESTERDA|Y.".. |
|00005980| 20 72 65 61 64 64 65 73 | 63 20 3d 20 22 59 6f 75 | readdes|c = "You|
|00005990| 20 72 65 61 64 20 61 20 | 66 65 77 20 61 72 74 69 | read a |few arti|
|000059a0| 63 6c 65 73 2c 20 61 6e | 64 20 70 72 6f 6d 70 74 |cles, an|d prompt|
|000059b0| 6c 79 20 62 65 63 6f 6d | 65 0d 0a 20 20 20 20 64 |ly becom|e.. d|
|000059c0| 65 70 72 65 73 73 65 64 | 2e 20 20 54 68 65 20 66 |epressed|. The f|
|000059d0| 65 64 65 72 61 6c 20 64 | 65 66 69 63 69 74 20 6a |ederal d|eficit j|
|000059e0| 75 73 74 20 77 65 6e 74 | 20 75 70 20 62 79 20 61 |ust went| up by a|
|000059f0| 6e 6f 74 68 65 72 0d 0a | 20 20 20 20 74 77 65 6e |nother..| twen|
|00005a00| 74 79 20 62 69 6c 6c 69 | 6f 6e 20 64 6f 6c 6c 61 |ty billi|on dolla|
|00005a10| 72 73 2c 20 62 75 74 20 | 69 74 27 73 20 61 6c 6c |rs, but |it's all|
|00005a20| 20 5c 63 68 61 72 60 5c | 5c 22 6f 66 66 20 62 75 | \char`\|\"off bu|
|00005a30| 64 67 65 74 2c 5c 63 68 | 61 72 60 5c 5c 22 0d 0a |dget,\ch|ar`\\"..|
|00005a40| 20 20 20 20 73 6f 20 69 | 74 20 64 6f 65 73 6e 27 | so i|t doesn'|
|00005a50| 74 20 72 65 61 6c 6c 79 | 20 63 6f 75 6e 74 2e 20 |t really| count. |
|00005a60| 20 54 68 65 72 65 27 73 | 20 61 6e 6f 74 68 65 72 | There's| another|
|00005a70| 20 57 68 69 74 65 20 48 | 6f 75 73 65 20 73 63 61 | White H|ouse sca|
|00005a80| 6e 64 61 6c 0d 0a 20 20 | 20 20 69 6e 76 6f 6c 76 |ndal.. | involv|
|00005a90| 69 6e 67 20 69 6c 6c 65 | 67 61 6c 20 61 72 6d 73 |ing ille|gal arms|
|00005aa0| 20 73 61 6c 65 73 2c 20 | 6d 6f 6e 65 79 20 6c 61 | sales, |money la|
|00005ab0| 75 6e 64 65 72 69 6e 67 | 20 74 68 72 6f 75 67 68 |undering| through|
|00005ac0| 20 49 74 61 6c 69 61 6e | 20 62 61 6e 6b 73 2c 0d | Italian| banks,.|
|00005ad0| 0a 20 20 20 20 43 6f 6e | 67 72 65 73 73 69 6f 6e |. Con|gression|
|00005ae0| 61 6c 20 50 61 67 65 73 | 3b 20 73 65 76 65 72 61 |al Pages|; severa|
|00005af0| 6c 20 68 69 67 68 2d 72 | 61 6e 6b 69 6e 67 20 66 |l high-r|anking f|
|00005b00| 65 64 65 72 61 6c 20 61 | 72 74 73 20 63 72 69 74 |ederal a|rts crit|
|00005b10| 69 63 73 20 68 61 76 65 | 0d 0a 20 20 20 20 61 6c |ics have|.. al|
|00005b20| 72 65 61 64 79 20 72 65 | 73 69 67 6e 65 64 20 69 |ready re|signed i|
|00005b30| 6e 20 64 69 73 67 72 61 | 63 65 2e 20 20 54 68 65 |n disgra|ce. The|
|00005b40| 20 65 63 6f 6e 6f 6d 79 | 20 68 61 64 20 79 65 74 | economy| had yet|
|00005b50| 20 61 6e 6f 74 68 65 72 | 20 64 6f 77 6e 74 75 72 | another| downtur|
|00005b60| 6e 2c 0d 0a 20 20 20 20 | 62 75 74 20 74 68 65 20 |n,.. |but the |
|00005b70| 50 72 65 73 69 64 65 6e | 74 20 73 61 79 73 20 68 |Presiden|t says h|
|00005b80| 65 27 73 20 63 6f 6e 66 | 69 64 65 6e 74 20 74 68 |e's conf|ident th|
|00005b90| 61 74 20 74 68 65 20 72 | 65 63 6f 76 65 72 79 20 |at the r|ecovery |
|00005ba0| 69 73 20 5c 63 68 61 72 | 60 5c 5c 22 6a 75 73 74 |is \char|`\\"just|
|00005bb0| 0d 0a 20 20 20 20 61 72 | 6f 75 6e 64 20 74 68 65 |.. ar|ound the|
|00005bc0| 20 63 6f 72 6e 65 72 20 | 61 6e 64 20 70 69 63 6b | corner |and pick|
|00005bd0| 69 6e 67 20 75 70 20 73 | 74 65 61 6d 2e 5c 63 68 |ing up s|team.\ch|
|00005be0| 61 72 60 5c 5c 22 22 0d | 0a 5c 65 6e 64 6f 62 6a |ar`\\"".|.\endobj|
|00005bf0| 0d 0a 0d 0a 5c 6f 62 6a | 65 63 74 7b 63 61 72 64 |....\obj|ect{card|
|00005c00| 73 6c 6f 74 3a 20 66 69 | 78 65 64 69 74 65 6d 7d |slot: fi|xeditem}|
|00005c10| 0d 0a 20 20 20 20 6c 6f | 63 61 74 69 6f 6e 20 3d |.. lo|cation =|
|00005c20| 20 63 6f 6e 63 6f 75 72 | 73 65 0d 0a 20 20 20 20 | concour|se.. |
|00005c30| 6e 6f 75 6e 20 3d 20 27 | 73 6c 6f 74 27 0d 0a 20 |noun = '|slot'.. |
|00005c40| 20 20 20 61 64 6a 65 63 | 74 69 76 65 20 3d 20 27 | adjec|tive = '|
|00005c50| 63 61 72 64 27 0d 0a 20 | 20 20 20 73 64 65 73 63 |card'.. | sdesc|
|00005c60| 20 3d 20 22 63 61 72 64 | 20 73 6c 6f 74 22 0d 0a | = "card| slot"..|
|00005c70| 20 20 20 20 6c 64 65 73 | 63 20 3d 20 22 54 68 65 | ldes|c = "The|
|00005c80| 20 73 6c 6f 74 20 61 70 | 70 65 61 72 73 20 74 6f | slot ap|pears to|
|00005c90| 20 61 63 63 65 70 74 20 | 73 70 65 63 69 61 6c 20 | accept |special |
|00005ca0| 49 44 20 63 61 72 64 73 | 20 77 69 74 68 0d 0a 20 |ID cards| with.. |
|00005cb0| 20 20 20 6d 61 67 6e 65 | 74 69 63 20 65 6e 63 6f | magne|tic enco|
|00005cc0| 64 69 6e 67 2e 20 20 49 | 66 20 79 6f 75 20 68 61 |ding. I|f you ha|
|00005cd0| 64 20 61 6e 20 61 70 70 | 72 6f 70 72 69 61 74 65 |d an app|ropriate|
|00005ce0| 20 49 44 20 63 61 72 64 | 2c 20 79 6f 75 20 63 6f | ID card|, you co|
|00005cf0| 75 6c 64 0d 0a 20 20 20 | 20 70 75 74 20 69 74 20 |uld.. | put it |
|00005d00| 69 6e 20 74 68 65 20 73 | 6c 6f 74 20 74 6f 20 6f |in the s|lot to o|
|00005d10| 70 65 6e 20 74 68 65 20 | 64 6f 6f 72 2e 22 0d 0a |pen the |door."..|
|00005d20| 5c 65 6e 64 6f 62 6a 0d | 0a 0d 0a 5c 6f 62 6a 65 |\endobj.|...\obje|
|00005d30| 63 74 7b 73 75 69 74 63 | 61 73 65 3a 20 6f 70 65 |ct{suitc|ase: ope|
|00005d40| 6e 61 62 6c 65 7d 0d 0a | 20 20 20 20 69 73 6f 70 |nable}..| isop|
|00005d50| 65 6e 20 3d 20 6e 69 6c | 0d 0a 20 20 20 20 6c 6f |en = nil|.. lo|
|00005d60| 63 61 74 69 6f 6e 20 3d | 20 70 69 6c 6f 74 73 4c |cation =| pilotsL|
|00005d70| 6f 75 6e 67 65 0d 0a 20 | 20 20 20 6e 6f 75 6e 20 |ounge.. | noun |
|00005d80| 3d 20 27 73 75 69 74 63 | 61 73 65 27 0d 0a 20 20 |= 'suitc|ase'.. |
|00005d90| 20 20 73 64 65 73 63 20 | 3d 20 22 73 75 69 74 63 | sdesc |= "suitc|
|00005da0| 61 73 65 22 0d 0a 5c 65 | 6e 64 6f 62 6a 0d 0a 0d |ase"..\e|ndobj...|
|00005db0| 0a 5c 6f 62 6a 65 63 74 | 7b 75 6e 69 66 6f 72 6d |.\object|{uniform|
|00005dc0| 3a 20 63 6c 6f 74 68 69 | 6e 67 49 74 65 6d 7d 0d |: clothi|ngItem}.|
|00005dd0| 0a 20 20 20 20 6c 6f 63 | 61 74 69 6f 6e 20 3d 20 |. loc|ation = |
|00005de0| 73 75 69 74 63 61 73 65 | 0d 0a 20 20 20 20 6e 6f |suitcase|.. no|
|00005df0| 75 6e 20 3d 20 27 75 6e | 69 66 6f 72 6d 27 0d 0a |un = 'un|iform'..|
|00005e00| 20 20 20 20 61 64 6a 65 | 63 74 69 76 65 20 3d 20 | adje|ctive = |
|00005e10| 27 70 69 6c 6f 74 27 20 | 27 70 69 6c 6f 74 5c 63 |'pilot' |'pilot\c|
|00005e20| 68 61 72 60 5c 5c 27 73 | 27 0d 0a 20 20 20 20 73 |har`\\'s|'.. s|
|00005e30| 64 65 73 63 20 3d 20 22 | 70 69 6c 6f 74 27 73 20 |desc = "|pilot's |
|00005e40| 75 6e 69 66 6f 72 6d 22 | 0d 0a 20 20 20 20 6c 64 |uniform"|.. ld|
|00005e50| 65 73 63 20 3d 20 22 49 | 74 27 73 20 61 20 75 6e |esc = "I|t's a un|
|00005e60| 69 66 6f 72 6d 20 66 6f | 72 20 61 6e 20 55 6e 74 |iform fo|r an Unt|
|00005e70| 69 65 64 20 41 69 72 6c | 69 6e 65 73 20 70 69 6c |ied Airl|ines pil|
|00005e80| 6f 74 2e 20 20 49 74 27 | 73 0d 0a 20 20 20 20 61 |ot. It'|s.. a|
|00005e90| 20 6c 69 74 74 6c 65 20 | 6c 61 72 67 65 20 66 6f | little |large fo|
|00005ea0| 72 20 79 6f 75 2c 20 62 | 75 74 20 79 6f 75 20 63 |r you, b|ut you c|
|00005eb0| 6f 75 6c 64 20 70 72 6f | 62 61 62 6c 79 20 77 65 |ould pro|bably we|
|00005ec0| 61 72 20 69 74 2e 22 0d | 0a 5c 65 6e 64 6f 62 6a |ar it.".|.\endobj|
|00005ed0| 0d 0a 7d 0d 0a 0d 0a 54 | 68 65 20 72 65 73 74 20 |..}....T|he rest |
|00005ee0| 6f 66 20 74 68 65 20 6f | 62 6a 65 63 74 73 20 61 |of the o|bjects a|
|00005ef0| 72 65 20 69 6d 70 6c 65 | 6d 65 6e 74 65 64 20 69 |re imple|mented i|
|00005f00| 6e 20 6d 75 63 68 20 74 | 68 65 20 73 61 6d 65 20 |n much t|he same |
|00005f10| 77 61 79 2e 20 20 49 6e | 0d 0a 69 6d 70 6c 65 6d |way. In|..implem|
|00005f20| 65 6e 74 69 6e 67 20 74 | 68 65 20 62 61 73 69 63 |enting t|he basic|
|00005f30| 20 6f 62 6a 65 63 74 73 | 2c 20 74 68 65 20 6d 61 | objects|, the ma|
|00005f40| 69 6e 20 70 72 6f 70 65 | 72 74 69 65 73 20 79 6f |in prope|rties yo|
|00005f50| 75 20 6e 65 65 64 20 74 | 6f 0d 0a 66 69 6c 6c 20 |u need t|o..fill |
|00005f60| 69 6e 20 61 72 65 20 7b | 5c 74 74 20 6c 6f 63 61 |in are {|\tt loca|
|00005f70| 74 69 6f 6e 7d 2c 20 73 | 6f 20 74 68 65 20 6f 62 |tion}, s|o the ob|
|00005f80| 6a 65 63 74 20 61 70 70 | 65 61 72 73 20 73 6f 6d |ject app|ears som|
|00005f90| 65 77 68 65 72 65 20 69 | 6e 0d 0a 74 68 65 20 67 |ewhere i|n..the g|
|00005fa0| 61 6d 65 3b 20 7b 5c 74 | 74 20 6e 6f 75 6e 7d 2c |ame; {\t|t noun},|
|00005fb0| 20 73 6f 20 74 68 65 20 | 70 6c 61 79 65 72 20 63 | so the |player c|
|00005fc0| 61 6e 20 72 65 66 65 72 | 20 74 6f 20 74 68 65 20 |an refer| to the |
|00005fd0| 6f 62 6a 65 63 74 3b 20 | 61 6e 64 0d 0a 7b 5c 74 |object; |and..{\t|
|00005fe0| 74 20 73 64 65 73 63 7d | 2c 20 73 6f 20 74 68 65 |t sdesc}|, so the|
|00005ff0| 20 73 79 73 74 65 6d 20 | 6b 6e 6f 77 73 20 77 68 | system |knows wh|
|00006000| 61 74 20 74 6f 20 63 61 | 6c 6c 20 74 68 65 20 6f |at to ca|ll the o|
|00006010| 62 6a 65 63 74 20 77 68 | 65 6e 20 69 74 0d 0a 6d |bject wh|en it..m|
|00006020| 65 6e 74 69 6f 6e 73 20 | 74 68 65 20 6f 62 6a 65 |entions |the obje|
|00006030| 63 74 20 69 6e 20 6d 65 | 73 73 61 67 65 73 2e 20 |ct in me|ssages. |
|00006040| 20 49 74 27 73 20 61 6c | 73 6f 20 69 6d 70 6f 72 | It's al|so impor|
|00006050| 74 61 6e 74 20 74 6f 20 | 63 68 6f 6f 73 65 0d 0a |tant to |choose..|
|00006060| 74 68 65 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 |the appr|opriate |
|00006070| 63 6c 61 73 73 20 66 6f | 72 20 65 61 63 68 20 69 |class fo|r each i|
|00006080| 74 65 6d 2c 20 73 6f 20 | 74 68 61 74 20 79 6f 75 |tem, so |that you|
|00006090| 20 63 61 6e 20 67 65 74 | 20 74 68 65 0d 0a 63 6f | can get| the..co|
|000060a0| 72 72 65 63 74 20 62 61 | 73 69 63 20 62 65 68 61 |rrect ba|sic beha|
|000060b0| 76 69 6f 72 20 6f 66 20 | 74 68 65 20 6f 62 6a 65 |vior of |the obje|
|000060c0| 63 74 20 77 69 74 68 6f | 75 74 20 61 6e 79 20 61 |ct witho|ut any a|
|000060d0| 64 64 69 74 69 6f 6e 61 | 6c 20 77 6f 72 6b 2e 0d |dditiona|l work..|
|000060e0| 0a 41 74 20 73 6f 6d 65 | 20 70 6f 69 6e 74 2c 20 |.At some| point, |
|000060f0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 67 6f 20 74 68 |you shou|ld go th|
|00006100| 72 6f 75 67 68 20 7b 5c | 74 74 20 61 64 76 2e 74 |rough {\|tt adv.t|
|00006110| 7d 20 61 6e 64 20 66 61 | 6d 69 6c 69 61 72 69 7a |} and fa|miliariz|
|00006120| 65 0d 0a 79 6f 75 72 73 | 65 6c 66 20 77 69 74 68 |e..yours|elf with|
|00006130| 20 74 68 65 20 63 6c 61 | 73 73 65 73 20 64 65 66 | the cla|sses def|
|00006140| 69 6e 65 64 20 74 68 65 | 72 65 2c 20 73 6f 20 79 |ined the|re, so y|
|00006150| 6f 75 20 6b 6e 6f 77 20 | 77 68 61 74 20 79 6f 75 |ou know |what you|
|00006160| 0d 0a 63 61 6e 20 67 65 | 74 20 66 72 6f 6d 20 7b |..can ge|t from {|
|00006170| 5c 74 74 20 61 64 76 2e | 74 7d 20 63 6c 61 73 73 |\tt adv.|t} class|
|00006180| 65 73 20 77 69 74 68 6f | 75 74 20 61 6e 79 20 77 |es witho|ut any w|
|00006190| 6f 72 6b 2e 20 20 53 65 | 65 20 41 70 70 65 6e 64 |ork. Se|e Append|
|000061a0| 69 78 20 41 0d 0a 66 6f | 72 20 66 75 6c 6c 20 64 |ix A..fo|r full d|
|000061b0| 65 74 61 69 6c 73 20 6f | 6e 20 7b 5c 74 74 20 61 |etails o|n {\tt a|
|000061c0| 64 76 2e 74 7d 2e 0d 0a | 0d 0a 5c 6d 69 6e 6f 72 |dv.t}...|..\minor|
|000061d0| 73 65 63 74 69 6f 6e 7b | 49 6d 70 6c 65 6d 65 6e |section{|Implemen|
|000061e0| 74 69 6e 67 20 53 70 65 | 63 69 61 6c 20 42 65 68 |ting Spe|cial Beh|
|000061f0| 61 76 69 6f 72 7d 0d 0a | 0d 0a 54 68 65 20 6e 65 |avior}..|..The ne|
|00006200| 78 74 20 73 74 65 70 20 | 69 73 20 74 6f 20 69 6d |xt step |is to im|
|00006210| 70 6c 65 6d 65 6e 74 20 | 61 6c 6c 20 6f 66 20 74 |plement |all of t|
|00006220| 68 65 20 73 70 65 63 69 | 61 6c 20 62 65 68 61 76 |he speci|al behav|
|00006230| 69 6f 72 20 74 68 61 74 | 0d 0a 72 65 61 6c 6c 79 |ior that|..really|
|00006240| 20 6d 61 6b 65 73 20 74 | 68 65 20 67 61 6d 65 20 | makes t|he game |
|00006250| 77 6f 72 6b 2e 20 20 46 | 6f 72 20 65 78 61 6d 70 |work. F|or examp|
|00006260| 6c 65 2c 20 6c 65 74 27 | 73 20 69 6d 70 6c 65 6d |le, let'|s implem|
|00006270| 65 6e 74 20 74 68 65 0d | 0a 73 69 6d 70 6c 65 20 |ent the.|.simple |
|00006280| 6d 65 63 68 61 6e 69 73 | 6d 20 74 68 61 74 20 6c |mechanis|m that l|
|00006290| 65 74 73 20 74 68 65 20 | 70 6c 61 79 65 72 20 66 |ets the |player f|
|000062a0| 69 6e 64 20 74 68 65 20 | 61 69 72 6c 69 6e 65 20 |ind the |airline |
|000062b0| 74 69 63 6b 65 74 0d 0a | 75 70 6f 6e 20 70 69 63 |ticket..|upon pic|
|000062c0| 6b 69 6e 67 20 75 70 20 | 74 68 65 20 6e 65 77 73 |king up |the news|
|000062d0| 70 61 70 65 72 2e 20 20 | 54 6f 20 64 6f 20 74 68 |paper. |To do th|
|000062e0| 69 73 2c 20 61 6c 6c 20 | 77 65 20 6e 65 65 64 20 |is, all |we need |
|000062f0| 74 6f 20 64 6f 0d 0a 69 | 73 20 61 64 64 20 61 20 |to do..i|s add a |
|00006300| 7b 5c 74 74 20 64 6f 54 | 61 6b 65 7d 20 6d 65 74 |{\tt doT|ake} met|
|00006310| 68 6f 64 20 74 6f 20 74 | 68 65 20 7b 5c 74 74 20 |hod to t|he {\tt |
|00006320| 6e 65 77 73 70 61 70 65 | 72 7d 20 6f 62 6a 65 63 |newspape|r} objec|
|00006330| 74 20 28 77 65 27 6c 6c | 0d 0a 6a 75 73 74 20 73 |t (we'll|..just s|
|00006340| 68 6f 77 20 74 68 65 20 | 6e 65 77 20 7b 5c 74 74 |how the |new {\tt|
|00006350| 20 64 6f 54 61 6b 65 7d | 20 6d 65 74 68 6f 64 20 | doTake}| method |
|00006360| 62 65 6c 6f 77 3b 20 74 | 68 65 20 72 65 73 74 20 |below; t|he rest |
|00006370| 6f 66 20 74 68 65 0d 0a | 6f 62 6a 65 63 74 20 69 |of the..|object i|
|00006380| 73 20 74 68 65 20 73 61 | 6d 65 20 61 73 20 73 68 |s the sa|me as sh|
|00006390| 6f 77 6e 20 61 62 6f 76 | 65 29 3a 0d 0a 0d 0a 7b |own abov|e):....{|
|000063a0| 5c 65 78 61 6d 70 6c 65 | 0d 0a 64 6f 54 61 6b 65 |\example|..doTake|
|000063b0| 28 61 63 74 6f 72 29 20 | 3d 0d 0a 5c 6c 62 0d 0a |(actor) |=..\lb..|
|000063c0| 20 20 20 20 69 66 20 28 | 6e 6f 74 20 73 65 6c 66 | if (|not self|
|000063d0| 2e 66 6f 75 6e 64 54 69 | 63 6b 65 74 29 0d 0a 20 |.foundTi|cket).. |
|000063e0| 20 20 20 5c 6c 62 0d 0a | 20 20 20 20 20 20 20 20 | \lb..| |
|000063f0| 22 41 73 20 79 6f 75 20 | 70 69 63 6b 20 75 70 20 |"As you |pick up |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.